Naming Conventions
Animals
RFLYYisRat, surgeon’sFirst andLast initials, rat number (YY)BXXisBlock numberRYYare legacy animals
All blocks should be stored within an animal folder .../RFLYY/RFLYY_BXX
Variable names
XX_pathindicates the full path to the folder or fileXX_folderorXX_fileshould just be the folder or file name with no pathblock_folderis the fullRFLYY_BXX,block_nameisBXX,block_idisXXanimal_nameshould always be parsed fromblock_folder, not manipulated separately or used as an argument
These arguments can have defaults set using environment variables
data_pathpath to the top-level data folder. Should contain animal folders. Environment variable:NSDS_DATA_PATHmetadata_lib_pathpath to the metadata repo. Environment variable:NSDS_METADATA_PATHstim_lib_pathpath to the stimulus folder. Environment variable:NSDS_STIMULI_PATH
nsds_lab_to_nwb.utils has utility functions for getting path defaults and parsing block folders.