Closed Slowblitz closed 3 years ago
Hi!
As we just discussed, two major things need to be changed from what you describe:
no check should be performed on the session id
the check on the directories and files should be performed in two steps: a. check the names of the directories (using the same algo as in the previous AnDO specs) b. then, check the names of the files
So now the ando is working as we discuss in 2 steps first it checks the folder structure and then the filenames, I have also added some test , and worked on the structure of the project. There is still some work to do on the generator tools and the documentation
thanks, I will test and review before 3:30pm... you can switch to the development of the Generator until then ;)
[I removed my previous comment, I'd made a mistake; here is some new feedback]
when I run the checker on dataset004, I get several errors:
1.
` Level 3 error [session folder] at : ses-20200101_001_rap It should follow the ses-YYYYMMDD_XXX_BBBB format, where:
This seems to be an old error message that should not be there anymore...
2. ` Level 3 error [Ephys folder] at : ses-20200101_001_pop Ephys folder is missing or does not follow the AnDO specification rules:
I think it should be Level 4 and not Level 3...
Hi! There are a lot of things to correct in the code, a bit everywhere, so that it would look nice... But maybe you can do this later... First, @Slowblitz , can you make it work as it should (i.e correct for what I said in my previous comment)?
@JuliaSprenger WDYT?
OK, after having been in the code for a bit of time now, let me try to make a checklist of what's do be done for this PR... At this point, I might have missed some things...
Not ready for reviewing yet... I will let you know!
OK, I'm starting to understand how the code works, but I think there are several mistakes which make it to complicated for me to fix it... I will focus on adding datasets to test the new errors (this should be my next commit), which can serve as a basis to test the corrections to be made in the code...
I think we can close this PR as it an alternative proposal was merged with #63
I've made some changes on how the AnDO works now it checks filenames only. There are still some changes to do in the generator tools and his related test. Now the dataset must contain this 3 files :
Here's an example of a dataset :