-
Notifications
You must be signed in to change notification settings - Fork 6
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
Auto-deduce wether file contains morphology or cell, load accordingly. #11
Comments
nml files have two modes: cell and morph. You'll need to use cell for this specimen. |
About the guessing part: I am not sure I understand. |
Could 'loading a file' be simplified to a single menu item, and let the tool determine what is in the file and load all that it can, and report something like:
|
Not really, how would you guess?
Also, your comment on the NML matter indicates that my comment was unclear. |
Try 'em all and load what you can (and report what you do).
(Try 'em all.) Look at what's there, offer a choice if multiple? |
So ... we are to square one, since the user has to choose anyhow? |
No. Workflow would be
The user then does not need to know (because they will not in all cases) know what kind of contents the file they want to load contains, or even that multiple kinds of data can exists in a file ( |
The user not knowing what they are loading is exactly what we are shipping around here and I absolutely want them Another example: SWC might be valid/invalid depending on interpretation. So, is this file bad and just accidentally loadable However, feel free to set this up, I currently lack the cycles. |
I guess what confused me, and therefore potentially others, is separate "Morphology" and "Cable Cell" categories. They are not mutually exclusive categories, so unless I know what's in a file, I don't know what to choose. My assumption is that users will have files with unknown contents. Nobody starts from scratch. I think the GUI is a good way to let users look at their data, and if you agree with that goal, giving some insight into the contents of their files aligns. I don't know what ways exist of checking the (kinds of) contents of for example an I could handle this issue, certainly! Just wanted to make sure you agree with the goal. In terms of implementation: maybe when opening a file, an overview is shown of what was found in the file and what was loaded/can be loaded and how, integrating the filter and flavor dropdowns. E.g. for SWC, we can't make the flavor choice, but for NML, we could peek to see if there's a cell or morph and pre-select the option. |
Sure, that'd be the way to go:
Troubles:
Go for it, if you have the bandwidth. |
@brenthuisman any updates? |
None. |
Did you have time to look into this? As a first step, you could change the title to something more in line with the actual problem/request. |
data/
fail, ACC are of unknown filetype.
This is on current master, perhaps properly loading these files depends on Arobr v0.6, but I thought I'd mention it anyway.
E.g.:
[error] NML file /home/brent/sync/julich/code/arbor-gui/data/c302-dd1-cell.nml has no morphologies.
In the open-morph file chooser, could we guess that
.acc
are Cable Cells?The text was updated successfully, but these errors were encountered: