Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@InspiritedCoder
Copy link
Contributor

The project metadata can be exported and imported using a .tsv file;
If everything is OK, then the next step is to add manual import to metadata dialog;

@robinschmid
Copy link
Member

Always use a private static final Logger logger ...
You can do this by adding a live template that shows up in the auto complete
image

private static final java.util.logging.Logger logger = java.util.logging.Logger.getLogger($CLASSNAME$.class.getName());

@robinschmid
Copy link
Member

Its getting there

Now import & export tasks are deligated to a class
implementing TableExportUtility interface; this way
MetadataTable can be in 2 states, depending on the format
of the table which is used to import/export the data (either long-table or wide-table);

The next step is to implement the WideTableExportUtility class;
There's an issue: idk whether we should display
defaut value if the parameteter is unset, or
we should just leave it empty;
Need to test it more and fix the
issue with the default values;
Also, pay attention to the fact that
if the parameter has no value assigned
to any RawDataFile then it would not be
exported in case of using LongTableExport format,
meanwhile it would be exported using WideTableExport.
TODO: values in MetadataTable should be Optional;
this way I will fix an issue with saving null
values into a ConcurrentHashmap
Need to add allerts which will clarify
the result of the import/export to the
user.
@robinschmid robinschmid marked this pull request as ready for review June 7, 2022 06:45
@robinschmid
Copy link
Member

The table looks great. Lets move the title column to the bottom just above the data. This is a bit more convenient for other people to parse
image

@robinschmid
Copy link
Member

Merge the latest master

@robinschmid
Copy link
Member

Great thanks for the progress

@robinschmid robinschmid merged commit a89be23 into mzmine:master Jun 13, 2022
@InspiritedCoder InspiritedCoder deleted the 633_metadata_to_tsv branch June 15, 2022 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants