Skip to content
Snippets Groups Projects
Commit 1cb7645e authored by gakin's avatar gakin
Browse files

SSDM-4318: OpenbisSync, temp fix

SVN: 37266
parent 627b9aa4
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ class DataSetRegistrationIngestionService extends IngestionService<DataSetInform ...@@ -117,7 +117,7 @@ class DataSetRegistrationIngestionService extends IngestionService<DataSetInform
downloadDataSetFiles(dir, ds.getDataSetCode()); downloadDataSetFiles(dir, ds.getDataSetCode());
File dsPath = new File(dir, "original"); File dsPath = new File(dir, "original");
for (File f : dsPath.listFiles()) for (File f : dir.listFiles())
{ {
transaction.moveFile(f.getAbsolutePath(), ds); transaction.moveFile(f.getAbsolutePath(), ds);
} }
...@@ -169,7 +169,7 @@ class DataSetRegistrationIngestionService extends IngestionService<DataSetInform ...@@ -169,7 +169,7 @@ class DataSetRegistrationIngestionService extends IngestionService<DataSetInform
} }
else else
{ {
System.err.println("Downloaded " + dsFile.getPath() + " " System.out.println("Downloaded " + dsFile.getPath() + " "
+ MemorySizeFormatter.format(dsFile.getFileLength())); + MemorySizeFormatter.format(dsFile.getFileLength()));
Path path = Paths.get(dir.getAbsolutePath(), filePath); Path path = Paths.get(dir.getAbsolutePath(), filePath);
try try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment