File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { loadHeader } from '../files/nifti.ts'
2525import { buildAssociations } from './associations.ts'
2626import type { ValidatorOptions } from '../setup/options.ts'
2727import { logger } from '../utils/logger.ts'
28+ import { datatypeFromDirectory } from '../validators/filenameIdentify.ts'
2829
2930export class BIDSContextDataset implements Dataset {
3031 #dataset_description: Record < string , unknown > = { }
@@ -162,6 +163,7 @@ export class BIDSContext implements Context {
162163 this . columns = new ColumnsMap ( ) as Record < string , string [ ] >
163164 this . json = { }
164165 this . associations = { } as Associations
166+ datatypeFromDirectory ( this . dataset . schema , this )
165167 }
166168
167169 get schema ( ) : Schema {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import type { CheckFunction } from '../types/check.ts'
2020import { lookupEntityLiteral } from './filenameValidate.ts'
2121
2222const CHECKS : CheckFunction [ ] = [
23- datatypeFromDirectory ,
23+ // datatypeFromDirectory,
2424 findRuleMatches ,
2525 hasMatch ,
2626 cleanContext ,
You can’t perform that action at this time.
0 commit comments