from waihona.waihona_driver import StorageDriver
sd = StorageDriver(
'techx',
default_dir='nrel',
default_file='opv',
default_bucket='chemistream-examples',
default_dnld='/home/hpcuser/cluster_shared_storage/examples_nwchem/example_opvdb')
import sys
sys.path.append('..')
from opvDB import RDKitAnalyzeOPVDB
dbObj = RDKitAnalyzeOPVDB('nrel_database_files/opv_db.csv.gz')
w = dbObj.data['smile']
min_index=0
min_length=10000
for iis, smiles in enumerate(w):
length = len(smiles)
if (length < min_length) and (length > 14):
min_length = length
min_index = iis
print(min_index)
print(min_length)
dbObj.generate_input_files()
dbObj.cutils.submit_workflow_jobs()
import sys
sys.path.append('..')
from DDEC6_analysis import DDEC6analysis
dd6 = DDEC6analysis()