Skip to content

Commit

Permalink
v1.3.1, bug fix. openbabel 3.x also looks okay
Browse files Browse the repository at this point in the history
  • Loading branch information
beef-broccoli committed Jun 1, 2023
1 parent ab65d38 commit 1ebccf9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/auto_qchem.egg-info/
/build/
/db_access/
/dist/
/dist/
/.ipynb_checkpoints/
2 changes: 1 addition & 1 deletion autoqchem/helper_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
'mongoDB':{
'host': "autoqchem.org",
'port': '27017',
'port': 27017,
'user': "acqWriter",
'password': "dftworks",
}
Expand Down
32 changes: 16 additions & 16 deletions autoqchem/sge_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,22 @@ def create_jobs_for_molecule(self,
self._create_sge_file_from_gaussian_file(base_name, molecule_workdir, wall_time)
# create job structure
job = sge_job(can=molecule.can,
inchi=molecule.inchi,
inchikey=molecule.inchikey,
elements=molecule.elements,
charges=molecule.charges,
connectivity_matrix=molecule.connectivity_matrix,
conformation=int(base_name.split("_conf_")[1]),
max_num_conformers=molecule.max_num_conformers,
tasks=gig.tasks,
config=gaussian_config,
conformer_engine=molecule.conformer_engine,
job_id=-1, # job_id (not assigned yet)
directory=gig.directory, # filesystem path
base_name=base_name, # filesystem basename
status=sge_status.created,
n_submissions=0,
n_success_tasks=0) # status
inchi=molecule.inchi,
inchikey=molecule.inchikey,
elements=molecule.elements,
charges=molecule.charges,
connectivity_matrix=molecule.connectivity_matrix,
conformation=int(base_name.split("_conf_")[1]),
max_num_conformers=molecule.max_num_conformers,
tasks=gig.tasks,
config=gaussian_config,
conformer_engine=molecule.conformer_engine,
job_id=-1, # job_id (not assigned yet)
directory=gig.directory, # filesystem path
base_name=base_name, # filesystem basename
status=sge_status.created,
n_submissions=0,
n_success_tasks=0) # status

# create a key for the job
key = hashlib.md5((job.can + str(job.conformation) +
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='auto-qchem',
version='1.3.0',
version='1.3.1',
packages=['autoqchem'],
data_files=['config.yml'],
url='https://github.com/doyle-lab-ucla/auto-qchem',
Expand Down

0 comments on commit 1ebccf9

Please sign in to comment.