Skip to content

Commit

Permalink
add the acquisitionDate in the files table (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmadjar authored Aug 13, 2020
1 parent c0f6f51 commit 1f2fe02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions uploadNeuroDB/NeuroDB/MRIProcessingUtility.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,13 @@ sub registerScanIntoDB {
$file_path
);

#### set the acquisition_date
my $acquisition_date = $${minc_file}->getParameter('acquisition_date') || undef;
$${minc_file}->setFileData(
'AcquisitionDate',
$acquisition_date
);

########################################################
### record which tarchive was used to make this file ###
########################################################
Expand Down

0 comments on commit 1f2fe02

Please sign in to comment.