Skip to content

Commit

Permalink
Merge pull request #268 from sennetconsortium/tjmadonna/229-remove-fu…
Browse files Browse the repository at this point in the history
…nctions-that-reference-data_types

Tjmadonna/229 remove functions that reference data types
  • Loading branch information
maxsibilla authored Feb 2, 2024
2 parents 5026a28 + 3b67aeb commit be09c30
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 361 deletions.
5 changes: 0 additions & 5 deletions src/lib/datacite_doi_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from flask import Flask
from api.datacite_api import DataCiteApi
from hubmap_sdk import EntitySdk
from lib.dataset_helper import DatasetHelper
from hubmap_commons.exceptions import HTTPException
import ast

Expand Down Expand Up @@ -301,10 +300,6 @@ def update_dataset_after_doi_published(self, dataset_uuid: str, doi_name: str, e
entity = entity_api.get_entity_by_id(dataset_uuid)
dataset = vars(entity)

#logger.debug(dataset)

dataset_helper = DatasetHelper()

data_cite_doi_helper = DataCiteDoiHelper()

try:
Expand Down
190 changes: 0 additions & 190 deletions src/lib/dataset_helper.py

This file was deleted.

1 change: 0 additions & 1 deletion src/routes/entity_CRUD/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,6 @@ def publish_datastage(identifier):
if r.ok is False:
raise ValueError("Cannot find specimen with identifier: " + identifier)
dataset_uuid = json.loads(r.text)['hm_uuid']
# return dataset_helper.determine_sources_to_reindex(identifier, user_info, dataset_uuid)
is_primary = dataset_is_primary(dataset_uuid)
suspend_indexing_and_acls = string_helper.isYes(request.args.get('suspend-indexing-and-acls'))
no_indexing_and_acls = False
Expand Down
Loading

0 comments on commit be09c30

Please sign in to comment.