You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the script should create REPLICATION-PartB-SIVACOR.md in generated/. (currently $output-dir is not used for that file)
instead of writing to the appendix directly, it should write a piece of the appendix that then gets included when the appendix gets regenerated. The appendix TEMPLATE https://github.com/AEADataEditor/replication-template-development/blob/development/template/REPLICATION_appendix.md should simply have a line at the appropriate location (note: no header! the header should be generated in the sivacor-partb-appendix.md so that it fits with the rest, but does not appear when no SIVACOR is present.
Diagnostics: the
./automations/18_summarize_sivacor.shfails when a revision is processed, because there is noREPLICATION-PartB.md.Other issues: the appendix is directly modified in
generated/but that file is re-generated by other scripts.Steps to solve:
template/original-REPLICATION.mdas a fallback for the inputREPLICATION-PartB.md- it can re-split it, get a blank PartB, and fill that. https://github.com/AEADataEditor/replication-template-development/blob/development/automations/18_summarize_sivacor.sh#L10REPLICATION-PartB-SIVACOR.mdingenerated/. (currently$output-diris not used for that file)sivacor-partb-appendix.mdso that it fits with the rest, but does not appear when no SIVACOR is present.template/REPLICATION-PartB-sivacor.mdusing the same syntax, and use https://github.com/AEADataEditor/replication-template-development/blob/development/tools/replace_placeholders.py . The script also needs to be updated when re-generating the appendix to "blank" the part about{{ sivacor-partb.md }}, for instance, by writing an empty file. This affects https://github.com/AEADataEditor/replication-template-development/blob/development/tools/generate_sivacor_partb.sh#L103