Skip to content

Commit

Permalink
hacked isort
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandraVolokhova committed Jan 23, 2024
1 parent 6dcb1cd commit c70c392
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions scripts/conformer/gen_uniform_samples_with_rewards.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# tblite import should stay here first! othervise everything fails with tblite errors
from gflownet.proxy.conformers.tblite import TBLiteMoleculeEnergy

import argparse
import os
import pandas as pd
import numpy as np
import pickle
import argparse
from pathlib import Path
import seaborn as sns
import matplotlib.pyplot as plt
from tqdm import tqdm

from rdkit.Chem import AllChem, rdMolTransforms
from gflownet.envs.conformers.conformer import PREDEFINED_SMILES
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
from gflownet.envs.conformers.conformer import PREDEFINED_SMILES, Conformer
from gflownet.proxy.conformers.tblite import TBLiteMoleculeEnergy
from gflownet.proxy.conformers.torchani import TorchANIMoleculeEnergy
from gflownet.utils.molecule.rotatable_bonds import (
get_rotatable_ta_list,
find_rotor_from_smiles,
get_rotatable_ta_list,
)
from gflownet.proxy.conformers.torchani import TorchANIMoleculeEnergy
from gflownet.envs.conformers.conformer import Conformer
from rdkit.Chem import AllChem, rdMolTransforms
from tqdm import tqdm


def get_uniform_samples_and_energy_weights(smiles, n_samples, energy_model="torchani"):
Expand Down

0 comments on commit c70c392

Please sign in to comment.