Skip to content

Commit

Permalink
get fmds too
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Oct 18, 2024
1 parent 49f48ef commit b1aebb4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
cvocSetting = ctxt.settings().getValueForKey(SettingsServiceBean.Key.CVocConf);

Dataset theDataset = getDataset();
theDataset.getFiles();
for(DataFile f:theDataset.getFiles()) {
f.getLatestFileMetadata();
}
theDataset.getLatestVersion().getFileMetadatas();
//logger.info("Dataset fmd " + theDataset.getFiles().get(0).getLatestFileMetadata().getId() + " is restricted: " + theDataset.getFiles().get(0).getLatestFileMetadata().isRestricted());
//logger.info("Dataset latest version fmd " + theDataset.getLatestVersion().getFileMetadatas().get(0).getId() + " is restricted: " + theDataset.getLatestVersion().getFileMetadatas().get(0).isRestricted());
Expand Down

0 comments on commit b1aebb4

Please sign in to comment.