File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1578,7 +1578,7 @@ def _xml_script_segment(to_serialize, target_file):
15781578 ")"
15791579 )
15801580
1581-
1581+ script . append ( "positions = PDBFile(equil_output).positions" )
15821582
15831583 if session ["restart_checkpoint" ] == "yes" :
15841584 script .append ("simulation.loadCheckpoint('%s')" % session ["checkpointFilename" ])
@@ -1587,8 +1587,6 @@ def _xml_script_segment(to_serialize, target_file):
15871587
15881588 script .append ("\n # Simulate\n " )
15891589 script .append ("print('Simulating...')" )
1590- if ensemble == "npt" :
1591- script .append ("system.addForce(MonteCarloBarostat(pressure, temperature, barostatInterval))" )
15921590 script .append ("integrator = LangevinMiddleIntegrator(temperature, friction, dt)" )
15931591 if constraints != "none" :
15941592 script .append ("integrator.setConstraintTolerance(constraintTolerance)" )
@@ -1645,7 +1643,7 @@ def _xml_script_segment(to_serialize, target_file):
16451643 if session ["md_postprocessing" ] == "True" :
16461644 # mdtraj_conversion() and MDanalysis_conversion()
16471645 if fileType == "pdb" :
1648- script .append ("mdtraj_conversion(f'Equilibration_{protein}' , '%s')" % session ["mdtraj_output" ])
1646+ script .append ("mdtraj_conversion(equil_output , '%s')" % session ["mdtraj_output" ])
16491647 if session ["sdfFile" ]:
16501648 if session ["mdtraj_output" ] != "mdtraj_gro_xtc" :
16511649 script .append (
You can’t perform that action at this time.
0 commit comments