-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Milestone
Description
Problem
need a test for UC1
UC 1 - compute amd (or another representation) from a structure
- Simon wants to compute the amd from a structure as he is working in diffpy-cmi
- Simon passes the structure to diffpy.similarity (ds)
- ds computes the amd and returns it simon
Proposed solution
write it. Define expected and actual so we get the right API definitions. Maybe we want a module with all the structure representations. We need a name for it. representations.py? then we would have from similarity.representations import amd
which seems to make sense. In this file define but make it empty. Something like
def amd(structure):
'''
<write the full docstring>
'''
return
Then in tests create test_represnetations.py
and write the test, making use of the fixture in conftest.py
sbillinge
Metadata
Metadata
Assignees
Labels
No labels