Open cyouh95 opened 2 months ago
Numeric sample names cause below error in the following line:
TypeError: unsupported operand type(s) for /: 'PosixPath' and 'int'
https://github.com/nasa/GeneLab_Data_Processing/blob/90d6bb5d6a20d817fa17ac5cb0763d4f8f75966b/RNAseq/Workflow_Documentation/NF_RCP-F/workflow_code/bin/sort_into_subdirectories_by_sample.py#L26
Convert numeric sample names to string:
dest = Path(TO) / str(sample) / file.name
Description
Numeric sample names cause below error in the following line:
https://github.com/nasa/GeneLab_Data_Processing/blob/90d6bb5d6a20d817fa17ac5cb0763d4f8f75966b/RNAseq/Workflow_Documentation/NF_RCP-F/workflow_code/bin/sort_into_subdirectories_by_sample.py#L26
Solution
Convert numeric sample names to string: