-
Notifications
You must be signed in to change notification settings - Fork 43
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
Allow for replacing data in a Fit Page #1537
Comments
Since this functionality is (probably?) not very common, hiding it in the right click context menu is the right thing. I would not like to make the main GUI elements more complex without real need. |
Hmm. My personal feeling is that the data context menu is too obscure for a user. Might be worth putting this out on Slack for some other opinions? Could there be a checkbox next to the Batch Mode one that says 'use current FitPage', instead? |
(Steve just reply whilst I was typing this) The ability to swap data attached to a fitpage will be generally very useful, even for a normal single page fit without constraints, so I would rather the feature was not hidden in a right click (though it could be there as well) but shows somewhere obvious for the novice user. So in the "send data to" drop down rename to "Fitting (new page)" and add a new line for "Fitting (current page"), or perhaps the checkbox as Steve suggested. |
My original idea wasn't to hide the functionality 😃 |
Good point! Yes we will have to check that only one data set is involved, or just move the first one ? |
A warning interrupting flow and prompting the user to select only one dataset should do it. I'm afraid that sending the first one could be a little confusing for a novice user 😄 |
Sorry for jumping in late but just would like to third the sentiment that this is likely to be a very popular feature rather than rarely used one for the reasons mentioned. Regarding implementation - sent do fitting as I recall creates a new fit page for each data set being sent and associates one data set with one fit page correct? at the top of the fit page in 5.x I note there is a text label that reads Just a thought based on a concept that was discussed for 4.x many years ago (but never implemented ... or even completely thought through as to whether it was or not a good idea 😃 |
Further thoughts: The above suggestion would create an new concept I guess (is it good or bad? not sure.. thinking at the moment it could be good?). We now would be differentiating between starting a new Fitpage by sending data to .. fitting, PR, etc from working within one Fitpage where we may change models, fitting algorithms and even data sets. The more I think about it, the more I'm liking that workflow concept .. but fair warning I had not so much sleep last night 😄 |
Version 3.1.2 actually had the dropdown data selection box on the FitPage, you just couldn't use it, it was greyed out! |
I admit, the possibility of having different perspectives (fitting, inversion, etc) open at the same time would be attractive... |
3.1.2? Interesting .. so I remembered correctly that it was a thought at one point anyway :-) |
A drop-down on the FitPage would be good, but should we only populate it with the "top level" imported data, or the whole plethora of locally computed workspaces ? Perhaps the latter could all be towards the end of the list ? (So we can fit a different model to calculated data, or to a difference?) |
Actually the drop down table is there, it's only active when you are in batch mode. |
I have a feeling this is going to be a nightmare. Replacing existing data without changes to underlying model is one thing, but allowing the fit tab to know about all existing datasets is very tricky in terms of keeping proper updates between DE (Data Explorer) and FT (FitTab). |
Right. I might have overreacted a bit - the change can be done without sacrificing the core data flow but still the question of logic of how to deal with multiply selected datasets being sent to fitting will work. We might start with allowing the overwrite of the existing data in the Fit Panel - the original request. This should be straightforward. The rest (multiple datasets listed in one Fit tab) can be made a separate discussion issue. |
Ok, for now I'll just add an mechanism allowing the replacement of data attached to the fit page :-) |
Ah yes. I forgot about that related issue. Can we have a design discussion about the infinite number of sub-data sets that appear in the data manager? Originally we only had some information there. Then we added the PQ, SQ separation of the I(Q) fit, then the desmeared and smeared versions and onwards. It seems at this point that for every iteration of parameters now gets saved there. So if I play around manually with parameter, even before my first fit I can have a dozen or more subsets. I understand that for being able to implement a history/go back feature this is important but most of these are useless to the user and just make it impossible to quickly find what one is looking for. I don't have a clear answer hence not putting in ticket at this point. Maybe I should create a separate ticket anyway to better enable discussion? |
Ah .. good point. I agree.... I did suggest that I did not know if it was a good or bad idea - apparently it was a bad one :-) On the other hand I don't think it breaks the original workflow concept (depending on how it was implemented) just enhances it... but perhaps a moot point now :-) |
Though I am of course very much in favour of being able to replace the data attached to a FitPage, there is also the tricky issue of the plots related to that Fitpage. I am presuming that all of them would immediately be updated to show new data (which might have a different Q range or vertical scale) but with the previous fit - which would be fine by me, and shows the user where they need to go next as it were. |
I would like to vote for the first of @RichardHeenan 's suggestions, on the grounds it is the logical one; the data have changed by not the theory/model. |
So,
I think the above is intuitive and fulfills Richard's requirement. |
Sounds good ! Presume any existing plots of M1 [d1] stay as seen prior to d2 arriving? Would save project have any issues ? suspect not, as it knows that d2 is attached to FitPage1 ? |
They will just stay on the screen, being associated with the Data Explorer entry, not the Fit Page!
|
@RichardHeenan I accidentally came across an old ticket of yours #1221. Is it safe to say this is the same issue and can be closed now as obsolete? Done - old issue closed by Richard |
@RichardHeenan or @m2cci-NMZ this seems to have been fixed in 5.0.3? but this issue remained open. Can you comment/verify that I'm not dreaming and that it is in fact OK to close this issue? |
Yes, this was indeed fixed in 5.0.3, closing this. |
Follow up to the discussion in #1490 and our biweekly call.
The first step to copy/paste constraints project is to allow for replacing existing data in a Fit Page.
This could be done similarly to Append to new plot, with the "Send To" button allowing for sending data to an existing page (but by default creating a new one).
The text was updated successfully, but these errors were encountered: