Skip to content
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

"Username / “MyTardis” / Experiment / Dataset" folder configuration not working properly #94

Open
RichardPBerry opened this issue Dec 14, 2016 · 7 comments

Comments

@RichardPBerry
Copy link

Attempting to use this configuration setting in MyData seems to require that the "MyTardis" folder under the username folder is the only subfolder at that level. Adding another subfolder throws the error:
"A folder name of "[FolderName]" was found where a "MyTardis" folder was expected.

I'm assuming this is not the expected behaviour. Found this is on Mac OS, and replicated on the Windows version of the client.

@wettenhj
Copy link
Contributor

Ther Username / "MyTardis" / Experiment / Dataset folder structure was introduced to support ingestion from an old legacy data ingestion workflow. We don't use it any more and I think it has been removed from the latest v0.7.0-beta. Do you need to use this folder structure?

@RichardPBerry
Copy link
Author

Hi James, no we were intending to use this but have recently changed to encourage uploads to user groups rather than individuals, so will probably use on of the group structures (e.g. User Group / Instrument / Full Name / Dataset).

Just thought I would report it as I came across it.

@wettenhj
Copy link
Contributor

OK, thanks for letting us know!

@nrmay
Copy link

nrmay commented Jan 30, 2017

We would like this feature re-instated, and also that it should support more that one folder under the username level. At one facility, MyData will be installed on machines with authenticated user folders and additional back-up methods. Therefore, we need to support a method whereby the users can QA the datafiles before dropping them into a sub-folder for ingested into a MyTardis.

e.g.

  • username
    • scratch (backed up elsewhere)
      • other info not to be ingested
    • MyTardis (ingested into MyTardis)
      • Exp_1
        • Dataset_1
          • Datafile_1
      • etc

@wettenhj
Copy link
Contributor

Hi @nrmay and @RichardPBerry,

The latest update is that support for this folder structure has not in fact been removed from MyData. I had considered removing it, but I was mistaken when I said it had already been removed.

In this commit: ec2ddd2 I removed the code which caused settings validation to fail when the "Validate folder structure" checkbox was ticked and there was a folder other than "MyTardis" at the same level as the "MyTardis" folder.

This change will be available in the next v0.7.0-beta build - v0.7.0-beta5.

@RichardPBerry
Copy link
Author

Thanks @wettenhj that is good to know. In the future I can also a use for this construct in with a group structure rather than username - i.e. groupname / "My Tardis" / Experiment / Dataset. We have similar case for one instrument where we will aim to use a network share as scratch space for multiple user groups, with a designated MyTardis ingest folder where a user can copy data after processing and QA.

@wettenhj
Copy link
Contributor

wettenhj commented Feb 7, 2017

This fix is included in the latest v0.7.0 beta build: https://github.com/mytardis/mydata/releases/tag/v0.7.0-beta5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants