... | @@ -48,3 +48,18 @@ job = Molrepo.molrepo_hpc('/aloy/scratch/sbnb-adm/tmp_job_molrepo') |
... | @@ -48,3 +48,18 @@ job = Molrepo.molrepo_hpc('/aloy/scratch/sbnb-adm/tmp_job_molrepo') |
|
if not Molrepo.test_all_available():
|
|
if not Molrepo.test_all_available():
|
|
print("Something went WRONG while MOLREPO, should retry")
|
|
print("Something went WRONG while MOLREPO, should retry")
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# 2 Signaturization (pipeline style)
|
|
|
|
|
|
|
|
```python
|
|
|
|
sign0_full = cc.get_signature('sign0', 'full', 'A1.001')
|
|
|
|
sign0_ref = cc.get_signature('sign0', 'reference', 'A1.001')
|
|
|
|
rnd = RNDuplicates()
|
|
|
|
rnd.remove(sign0_full)
|
|
|
|
rnd.save(sign0_ref.data_path)
|
|
|
|
sign1_ref = cc.get_signature('sign1', 'reference', 'A1.001')
|
|
|
|
sign1_ref.fit(sign0_ref)
|
|
|
|
sign1_full = cc.get_signature('sign1', 'full', 'A1.001')
|
|
|
|
sign1_ref.predict(sign0_full, destination=sign1_full.data_path)
|
|
|
|
``` |
|
|
|
\ No newline at end of file |