-
Couldn't load subscription status.
- Fork 149
633_metadata_export_to_tsv #694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
robinschmid
merged 35 commits into
mzmine:master
from
InspiritedCoder:633_metadata_to_tsv
Jun 13, 2022
Merged
633_metadata_export_to_tsv #694
robinschmid
merged 35 commits into
mzmine:master
from
InspiritedCoder:633_metadata_to_tsv
Jun 13, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUG: need to handle updating metadata table after deleting a RawDataFile, otherwise it will lead to bugs...
BUG: sometimes the same parameters values are imported;
BUGFIX: need to update the metadata table when removing
a RawDataFile;
a RawDataFile is fixed;
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/columns/MetadataColumn.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/columns/MetadataColumn.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/columns/MetadataColumn.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/columns/MetadataColumn.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
...in/java/io/github/mzmine/project/parameterssetup/ProjectParametersSetupDialogController.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 23, 2022
...in/java/io/github/mzmine/project/parameterssetup/ProjectParametersSetupDialogController.java
Outdated
Show resolved
Hide resolved
robinschmid
reviewed
May 30, 2022
src/main/java/io/github/mzmine/project/parameterssetup/MetadataTable.java
Outdated
Show resolved
Hide resolved
|
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
reviewed
Jun 7, 2022
src/main/java/io/github/mzmine/project/parameterssetup/table/columns/DateMetadataColumn.java
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/columns/DoubleMetadataColumn.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/columns/StringMetadataColumn.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/MetadataTable.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/WideTableExportUtility.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/WideTableExportUtility.java
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/table/WideTableExportUtility.java
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/ProjectMetadataParameters.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/mzmine/project/parameterssetup/ProjectParametersSetupDialog.fxml
Show resolved
Hide resolved
...in/java/io/github/mzmine/project/parameterssetup/ProjectParametersSetupDialogController.java
Outdated
Show resolved
Hide resolved
|
Merge the latest master |
robinschmid
reviewed
Jun 7, 2022
...in/java/io/github/mzmine/project/parameterssetup/ProjectParametersSetupDialogController.java
Outdated
Show resolved
Hide resolved
Now you can unset already set parameters values; [TODO]: add some .exampleValue() method for each column type; this value will be displayed in case if the input format is wrong;
using the long-table format is fixed;
…etadata_to_tsv
|
Great thanks for the progress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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;