Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dsc/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from dsc.workflows.archivesspace import ArchivesSpace
from dsc.workflows.base import Workflow
from dsc.workflows.base.simple_csv import SimpleCSV
from dsc.workflows.opencourseware import OpenCourseWare
from dsc.workflows.sccs import SCCS
from dsc.workflows.simple_csv import SimpleCSV

__all__ = ["SCCS", "ArchivesSpace", "OpenCourseWare", "SimpleCSV", "Workflow"]
3 changes: 3 additions & 0 deletions dsc/workflows/archivesspace/__init__.py
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a version of this comment that seemed to fall in a black hole so repeating: I really like this organization, the previous approach worked but I appreciate having a workflow's files collocated like this!

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from dsc.workflows.archivesspace.workflow import ArchivesSpace

__all__ = ["ArchivesSpace"]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from dsc.db.models import ItemSubmissionStatus
from dsc.item_submission import ItemSubmission
from dsc.workflows.base.simple_csv import SimpleCSV
from dsc.workflows.simple_csv import SimpleCSV

logger = logging.getLogger(__name__)

Expand All @@ -25,7 +25,7 @@ class ArchivesSpace(SimpleCSV):

@property
def metadata_mapping_path(self) -> str:
return "dsc/workflows/metadata_mapping/archivesspace.json"
return "dsc/workflows/archivesspace/metadata_mapping.json"

@property
def output_path(self) -> str:
Expand Down
Loading