Comments (3)
Not sure if related but ... with hdf5 files with attributes, attempting to remove rows using the "X" on the create template window, the first click will not remove the selected row, but the top item. Further clicks appear to do nothing.
from metaforge.
This seems like a more general problem with attributes not quite fitting the data model. So our simple solution of just adding a * works for the most part, but the new XML parser is suffering from the same issue. I started looking into this last week, and I can see it with XML and HDF5 files.
Looking at the way the tree model works you cannot uncheck "directory" type things that contain other things. The issue as I see it is without attributes an entry is either a containing directory, so it doesn't get its own row in the table, or it is a data entry and it does get an entry. We now have another situation where an entry might be made for a data entry, and that data entry has several attributes it contains.
I think I understand the ez model stuff, but this probably warrants a discussion before we go changing things. Do we want to make attributes special in the data model, or do we want to generalize the nodes that contain things to be checkable/uncheckable in their own right?
from metaforge.
We had a meeting about this and decided to do the following:
-
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.
-
Any node (Foo) that has attributes will have a node in the tree called "Foo*" and a parallel node in the tree called "Foo.attributes" in italics. All the attributes for node Foo are listed as children of "Foo.attributes".
from metaforge.
Related Issues (20)
- Documentation HOT 2
- Upload entire folders to HyperThought, preserving the folder hierarchy
- Package up the application into an actual MacOS app package and Windows executable. HOT 1
- Rewrite parsers so that they return flattened file dictionaries
- Automatically add a yaml file to custom parser directory if it doesn't have one already
- HT Name should be just the base name, not the entire path.
- Cannot Cancel Uploads
- Drag and Drop not working to the "Use Template" file list HOT 1
- Use Template: Table Roll overs are either stale or need updates
- use Template: File List table "Remove Selected Rows" removes ALL the files from the list
- Break out Save Template menu item into Save and Save As.
- Parsers should not key off of file extensions to determine compatible files
- Folders uploaded to HyperThought are hanging and not finishing. HOT 1
- Loading empty template file throws python errors HOT 1
- Folders and files uploaded to HyperThought are automatically renamed if they already exist.
- HyperThought uploader dialog should revert back to original state if Cancel button is clicked
- Discard MetaForgeParser superclass and use the Spike parser superclass instead.
- Talk with the HyperThought team about using our template file format.
- Removing metadata table items on the Use Template side does not work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaforge.