Skip to content

UC1 compute #8

@sbillinge

Description

@sbillinge

Problem

need a test for UC1

UC 1 - compute amd (or another representation) from a structure

  1. Simon wants to compute the amd from a structure as he is working in diffpy-cmi
  2. Simon passes the structure to diffpy.similarity (ds)
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions