-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass folder path to initialize Tensorboard object (#86)
* Pass folder path to initialize Tensorboard object * Add tensorboard unit test * Minor style and import fix * Add codecov token for reliability Co-authored-by: William Fondrie <[email protected]>
- Loading branch information
1 parent
38af61a
commit a5c05b8
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
"""Test that setuptools-scm is working correctly""" | ||
import casanovo | ||
from casanovo.denovo.model import Spec2Pep | ||
|
||
|
||
def test_version(): | ||
"""Check that the version is not None""" | ||
assert casanovo.__version__ is not None | ||
|
||
|
||
def test_tensorboard(): | ||
"""Check that the version is not None""" | ||
model = Spec2Pep( | ||
tb_summarywriter="test_path", | ||
) | ||
assert model.tb_summarywriter is not None | ||
|
||
model = Spec2Pep() | ||
assert model.tb_summarywriter is None |