File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
vcell-native/src/main/java/org/vcell/libvcell Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3131import java .io .ByteArrayInputStream ;
3232import java .io .File ;
3333import java .io .InputStream ;
34- import java .math .BigDecimal ;
3534import java .util .ArrayList ;
3635import java .util .List ;
3736
@@ -90,9 +89,10 @@ private static FieldDataIdentifierSpec[] getFieldDataIdentifierSpecs(Simulation
9089 //
9190 // First, check if the resampled field data files are already present (e.g. if pyvcell wrote the files directly from image data)
9291 //
93- ExternalDataIdentifier fakeExtDataId = new ExternalDataIdentifier (sim .getKey (), User .tempUser , name );
92+ KeyValue random_key = new KeyValue ("123456789" );
93+ ExternalDataIdentifier fakeExtDataId = new ExternalDataIdentifier (random_key , User .tempUser , name );
9494 String fieldDataFileName = SimulationData .createCanonicalResampleFileName (fakeExtDataId , fieldFuncArg );
95- fieldDataFileName = fieldDataFileName .replace ("SimID_" + sim . getKey (). toString () + "_0_" , "SimID_SIMULATIONKEY_JOBINDEX_" );
95+ fieldDataFileName = fieldDataFileName .replace ("SimID_" + random_key + "_0_" , "SimID_SIMULATIONKEY_JOBINDEX_" );
9696 File preexistingFieldDataFile = new File (outputDir , fieldDataFileName );
9797 if (preexistingFieldDataFile .exists ()) {
9898 fdiSpecList .add (new FieldDataIdentifierSpec (fieldFuncArg , fakeExtDataId ));
You can’t perform that action at this time.
0 commit comments