Skip to content

Commit fe50ccd

Browse files
committed
Update note
1 parent 4252ded commit fe50ccd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bin/process_bulk_metadata.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,12 @@ def _apply_changes_to_xml(self, xml_path, anthology_id, changes):
184184
return None
185185

186186
def process_metadata_issues(
187-
self, ids=[], verbose=False, skip_validation=False, dry_run=False, close_old_issues=False
187+
self,
188+
ids=[],
189+
verbose=False,
190+
skip_validation=False,
191+
dry_run=False,
192+
close_old_issues=False,
188193
):
189194
"""Process all metadata issues and create PR with changes."""
190195
# Get all open issues with required labels
@@ -247,7 +252,7 @@ def process_metadata_issues(
247252
)
248253
url = f"https://aclanthology.org/{anthology_id}"
249254
issue.create_comment(
250-
f"The Anthology has had difficulty keeping up with the manual process we use for the large number of metadata corrections we receive. We have therefore updated our workflow with a more automatated process. We are closing this issue, and ask that you help us out by recreating your request using this new workflow. You can do this by visiting [the paper page associated with this issue]({url}) and clicking on the yellow 'Fix metadata' button. This will take you through a few steps simple steps."
255+
f"### Notice\n\nThe Anthology has had difficulty keeping up with the large number of metadata corrections we receive. We have therefore updated our workflow with a more automatated process. We are closing this issue, and ask that you help us out by recreating your request using this new workflow. You can do this by visiting [the paper page associated with this issue]({url}) and clicking on the yellow 'Fix metadata' button. This will take you through a few steps simple steps."
251256
)
252257
# close the issue as "not planned"
253258
issue.edit(state="closed", state_reason="not_planned")

0 commit comments

Comments
 (0)