Skip to content

Commit

Permalink
conditional on recon parameter values
Browse files Browse the repository at this point in the history
  • Loading branch information
CPernet committed Dec 5, 2023
1 parent ba9d57b commit 2244181
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion matlab/updatejsonpetfile.m
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@
else % returns none if actually seen as empty by get_recon_method
filemetadata.ReconMethodParameterLabels = "none";
filemetadata.ReconMethodParameterUnits = "none";
filemetadata.ReconMethodParameterValues = 0; % conditional on ReconMethodParameterLabels, just to make the validator pass comment this out later
if isempty(filemetadata.ReconMethodParameterValues) % in cas user passes info
filemetadata.ReconMethodParameterValues = 0; % if none should be 0
end
end
end

Expand Down

0 comments on commit 2244181

Please sign in to comment.