Replies: 5 comments 3 replies
-
(This is interesting -- is Discussion supposed to be for discussions and Issues for real issues with the code?) About The |
Beta Was this translation helpful? Give feedback.
-
(The Discussions feature tries to address the long standing challenge of wide ranging, roaming issues that in reality are broader discussions rather than specific issues addressable with narrow PR's) From my funky, GPS data perspective of wanting to short circuit the convert workflow to not have to write a file, I'd like to have the save steps be separate from the set steps. In other words, |
Beta Was this translation helpful? Give feedback.
-
I think it should be pretty straightforward to make that separation: making the The type of short-circuiting you wanted though I think requires actual changes in the parser, and I think it'll be great to make it an issue to be resolved in one of our milestones. |
Beta Was this translation helpful? Give feedback.
-
(Forgot to add: I like the distinction between Discussion and Issue! Somehow it feels that the discussions can be much more free-form here and some part of the conversation could naturally evolve into a focused issue to be addressed by a PR. ) |
Beta Was this translation helpful? Give feedback.
-
Good to hear! I think I'm hearing that this change could be made w/o impacting the vast majority of users, who would still just call
It goes far in that direction, though. Currently the short-circuiting I'm doing involves calling the |
Beta Was this translation helpful? Give feedback.
-
(I've enabled the new repo Discussions feature ... First time using it, so let's see how well it works!)
I'm still familiarizing myself with the way things are structured in the class redesign. One observation I'd make is that the distinction between setting and saving is confusing. For example, the
SetGroupsEK60.save
method calls severalset_
methods, each of which sets up and populates a specific nc4 group ... then calls theutils.io.save_file
method to do the saving (writing). So, "set" does more than just setting: it also writes. I find that variability in meanings confusing and hard to keep track of.Not to diverge too much from the main topic here, but something similar occurs with
SetGroupsBase.convert_obj
. In reality,convert_obj
refers to something more specific than the broader "convert" functionality. It's a "parse" object. That's clear in the comment (# a convert object ParseEK60/ParseAZFP/etc...), but when encounteringconvert_obj
elsewhere, and you're new-ish to the code, it's confusing. In this case, I think I'd renameconvert_obj
toparse_obj
(orparser
, orparse
).Beta Was this translation helpful? Give feedback.
All reactions