Skip to content

Commit

Permalink
Update fragment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Dec 4, 2023
1 parent 12333ac commit b81886b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions mofa/fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@

from model import MOFRecord

from mofa.difflinker_fragmentation import fragmentation
from mofa.difflinker_process_fragmentation import process_fragments
from typing import *

def fragment_mof_linkers(
starting_model: str | Path,
examples: list[MOFRecord],
num_epochs: int
nodes: List[str] = ["CuCu"]
# starting_model: str | Path,
# examples: list[MOFRecord],
# num_epochs: int
) -> Path:
"""Fragment linkers of MOFs
Expand All @@ -19,5 +24,7 @@ def fragment_mof_linkers(
Returns:
Path to the new model weights
"""
raise NotImplementedError()

# raise NotImplementedError()
fragmentation(nodes)
process_fragments(nodes)

0 comments on commit b81886b

Please sign in to comment.