-
Notifications
You must be signed in to change notification settings - Fork 1
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
Handling multiple data source versions at the same time #113
Comments
The
Indeed the user can change the function's The general idea, for now, is that in production-scripts only one version will be used, and this version is put in the default subdirectory (as in your example). File and version handling is planned to be further taken care of by Handling multiple versions side-by-side, while not breaking current approach (to maintain backward compatibility with existing scripts), could indeed happen by using extra version-specific folders. They could be put either inside the data source subdirectory (cf. in your example) [1], next to it by using version codes in the folder name [2], or in a dedicated folder at a higher level [3]. In all cases the official version codes should be used, to conform with version names at Zenodo (which can be retrieved to include in the E.g. a version-checking function could also search for other locally available versions, in designated default locations, if the requested version is not present in the regular default subdirectory. Examples of possible directory structure that we could choose:
(*) has data source files of some version - used by default All (and more) could be supported, but we must choose one. I like [3] best, because it separates versions most from current structure, making clear that both options are available. I'd rather not mix data files with version-specific folders as in [1]. The default data source folder should just contain a chosen version of a data source (other contents may appear as if they were part of the data source as well). Further suggestions are welcome of course. |
Originally posted by @cecileherr in inbo/n2khab-preprocessing#50 (comment)
The text was updated successfully, but these errors were encountered: