bluequartzsoftware / metaforge Goto Github PK
View Code? Open in Web Editor NEWHyperThought File Uploading with automatic metadata tagging using PySide2/Qt5
License: BSD 3-Clause "New" or "Revised" License
HyperThought File Uploading with automatic metadata tagging using PySide2/Qt5
License: BSD 3-Clause "New" or "Revised" License
The TIFF tag stored in FEI Tiff images is in the INI format. The tags are 34681 and 34682 based on different versions that FEI will store.
This is probably related to the item delegate assigned to each column.
Select a project that has files and folders in a directory.
All the files show up in the right panel. Cannot figure out what the directories are.
Ideal (?): Folders Bold, files plain.
Completely workable: Only Folders, keep files invisible.
If a user adds a new parser directory, add a parsers.yml file if that directory doesn't already have one.
Also consider maybe updating the user interface to list which parsers have been loaded for a given directory, provide a link to open and edit the directory's yml file, etc.
Rewrite any parsers that are returning nested file dictionaries to instead return flattened file dictionaries. EzMetadataModel also needs to be updated to remove the logic dealing with unpacking nested file dictionaries. The code in there should simplify quite a bit since it'll just be a matter of parsing each incoming flattened dictionary item into an EzMetaDataEntry object and then appending it to the "entries" list property.
The project root directory should be selected when a project is first selected. This is a problem when the project has no subfolders.
This is not an easy use case to address, but I think it will likely be worth it. In create template: load a template (tempA.ez) that contains a mixture of source and custom fields, initially created with "dataset1.h5". Then open/drag&drop "dataset2.h5" ... all fields get cleared out and replaced with the new dataset fields, including customizations.
Is it possible in this situation to look at which Source trees are identical from the original template and the newly parsed datafile, and keep any customizations. Also keep all custom fields.
Any fields that are in the template from the original datafile, but not found in the new data file should also be kept (stretch goal: highlight them?). Upon parsing on "Use Template", the unfound fields values are filled with empty strings.
Clicking the cancel upload button will not work
*** in the context of create template ***
When parsing an HDF5 with attributes, the data item/group that has an attribute cannot be removed from the template. For instance if the item/group has atributes "Bar 1" and "Bar 2", then the source tree appears like :
/Foo/Bar 1*
/Foo/Bar 2*
'/Foo'
You can remove "/Foo/Bar 1" and "/Foo/Bar 2" but not "/Foo"
Note here ... all "remove" actions are using the check boxes in the MetaData tree. See below for perhaps related issue.
Need two projects, P1 and P2, with folders F1 and F2 respectively.
Select P1/F1 and upload file.
Return to "Select Remote"
Chose P2/F2
Get an error. Looks like it is not refreshing the folder path when a new project is selected.
Traceback (most recent call last):
File "/Users/dave/PycharmProjects/MetaForge/MetaForge/hyperthoughtdialogimpl.py", line 117, in ascendingDirectories
folderlist = ht_requests.get_item_dict_from_ht_path(self.authcontrol,
File "/Users/dave/PycharmProjects/MetaForge/MetaForge/ht_requests/ht_requests/ht_requests.py", line 86, in get_item_dict_from_ht_path
ht_id_path = get_ht_id_path_from_ht_path(auth_control, ht_path=ht_path,\
File "/Users/dave/PycharmProjects/MetaForge/MetaForge/ht_requests/ht_requests/ht_requests.py", line 163, in get_ht_id_path_from_ht_path
raise FileNotFoundError(f'Could not find file/folder located at {ht_path} in HyperThought: {comp} does not exist!')
FileNotFoundError: Could not find file/folder located at /F1/F2/ in HyperThought: F1 does not exist!
Attempted to make a new folder after selecting a project. Get an error dialog with:
Error creating remote directory. 'Name'
When describing a custom Key-Value, a value is followed by units. It would be sensible for the MetaForge interface to have "HT Units" right after "HT Value" column.
A Jupyter notebook that shows how to import MetaForge as a module and show how to use it and also how to upload data to HyperThought.
Upload does not work if trying to upload into the root directory of a project on HyperThought. Currently one must select/make a folder to upload into for a project.
Some buttons, tables and other UI elements need to have their ToolTips filled in.
Seems that PySide2 needs to have some extra "repaint()" or "update()" or refresh() or something called after certain UI elements are changed. This can lead to a lot of user confusion during operation because the user will think they did something but get no feedback from the UI and then try the same thing again.
Some buttons are blank in the user interface.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.