Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
20 changes: 12 additions & 8 deletions papers/mfd_platform/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# OpenMFD platform manuscript

Read the latest successful [manuscript PDF](current/openmfd_manuscript.pdf),
[supplement PDF](current/openmfd_supplement.pdf), or
[combined review PDF](current/openmfd_review.pdf). DOCX files, input/output/tool
provenance and complete build logs are beside them. All three switch together.

Edit [manuscript.md](manuscript.md) for the main text and files in
The current PI-based revision is the [original-figure restoration package](figure_restoration/README.md):
[tracked manuscript](figure_restoration/MFD_original_figures_tracked.docx) and
[reading PDF](figure_restoration/MFD_original_figures_revised.pdf), with both
protocols and the data workbook alongside. Its baseline is Alyson's returned V14;
her prose is retained while the original full figures, legends and their callouts
are restored. Use that package's recipe for this revision.

The `current/` links and Markdown build below describe the earlier pre-PI draft.
Do not rebuild that draft over the returned prose. The earlier source is
[manuscript.md](manuscript.md), with files in
[supplementary](supplementary/) for supplementary text. The single ordered
supplement declaration is in [build_paper.py](build_paper.py); the combined
review derives these same two declarations and parsed inputs. Missing sections
fail rather than being silently omitted. The old paper.md path is only a pointer.

## Supplementary text and data
## Earlier Markdown supplement and data

The supplement opens with the two protocols, followed by illustrated fabrication
troubleshooting, one design-dimension table and the apparent-width note. The full
Expand All @@ -30,7 +34,7 @@ Supply these linked files with the supplement when preparing submission files;
the build records and retains them as supporting inputs rather than typesetting
every measurement and setting.

## Build a reading copy
## Build the earlier Markdown reading copy

Use a build-only environment, not the OpenMFD runtime environment. Install
Pandoc, LibreOffice and Poppler on Linux, then install the pinned shared package:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"anchor": "Complete acquisition parameters, image positions, and analytical procedures are provided in Supplementary Protocol 2.",
"text": "Please confirm the historical analysis software/version, stitching/registration and segmentation settings, CTB-positive classification rule, and any manual corrections. The retained handoff does not establish that the same candidate configuration generated every historical count; do not substitute current defaults or silently rerun the observations."
},
{
"anchor": "ProtocolFournier-4748",
"text": "Retain this PI-supplied ethics information. Please confirm exact identifier typography and coverage of this preparation before submission."
},
{
"anchor": "Supporting plate frames were fabricated from high-impact polystyrene (HIPS) using a Creality K1C filament printer",
"text": "Workbook S3 retains five top layers and a source note of 0.8 mm at 0.20 mm layer height. Please check the native slicer/G-code for the controlling parameter or override; no supplied setting has been silently changed."
},
{
"anchor": "A versioned software and fabrication archive will be deposited for permanent access.",
"text": "Before submission, identify the actual archive/deposit and supplied microscopy, ROI/calibration/crop records, exclusion provenance, native printer profiles/G-code and fabrication files. The current ZIP/workbook does not contain all of those files. Keep prospective wording until deposit is complete; no DOI is invented here."
},
{
"anchor": "Representative DIV11 cortical neurons (Plate 1, device R03C04)",
"text": "Original full Figure 5 restored, including the single P1/R03C04 example and saved orange outlines. Native historical image/ROI/scale provenance questions remain unresolved; this edit does not rerun segmentation or redraw microscopy."
}
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
43 changes: 43 additions & 0 deletions papers/mfd_platform/figure_restoration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# MFD — Alyson's prose with original figures restored

## Reading files

- [Tracked manuscript](MFD_original_figures_tracked.docx)
- [Clean manuscript PDF](MFD_original_figures_revised.pdf) — 18 pages
- [Tracked Protocol 1](Supplementary_Protocol_1_original_figures_tracked.docx) and [reading PDF](Supplementary_Protocol_1_original_figures_revised.pdf) — 6 pages
- [Tracked Protocol 2](Supplementary_Protocol_2_original_figures_tracked.docx) and [reading PDF](Supplementary_Protocol_2_original_figures_revised.pdf) — 5 pages
- [Supplementary Data File 1](OpenMFD_Supplementary_Data_File_1.xlsx) — original five sheets preserved; complete design table moved to S6

All three tracked files have actual unaccepted revisions and further Track Changes recording enabled. Original/revised copies and the previous delivery remain in `../v14_tracked/`. Files named `comparison_baseline` are comparison inputs, not reading copies.

## Changes

Alyson's returned `MFD_V14_AEF.docx` is the latest PI prose located. The previously approved finite corrections are retained. All five original composites from `../figures/rendered_docx/` and their original legends are restored, with narrow citation/scale qualifications retained. No old Markdown manuscript was regenerated over her prose.

Prose callouts now match the original panels: Figure 1's frame/inserts/plate, Figure 3 without a G plot, Figure 4's nine numbered steps, and Figure 5's fluid/representative image/count panels. The CTB description now matches the actual single P1/R03C04 example, while retaining the full three-plate quantitative cohort. First mentions are ordered 1–5 and S1–S3. Statistics formerly pointing to removed summary panels remain in the prose/data rather than gaining invented panel references.

Protocol 1's complete design table is now workbook S6. The reviewed eleven-approach fabrication comparison remains Supplementary Table S1 in Protocol 1. Images and all protocol actions remain; whether to promote that comparison to the main text is deferred for discussion.

## Checks and limits

`delivery_checks.json` records reference-token preservation, exact original main-image hashes, native Accept All/Reject All text/media checks, revision counts, comment ranges, figure order, unchanged original workbook cell/style parts, exact transferred design/fabrication rows, and PDF page checks. All 29 final pages were inspected on contact sheets; main pages 16–18 and the fabrication table were also opened at larger reading size. Each main composite and its complete legend fits one page; no blank or clipped pages were found.

For reliable native comparison, floating images are made inline and separated from caption text in both inputs. The comparison baseline's full text and image payloads are asserted identical to the untouched PI original. This is content/image tracking, not a claim that every layout-format change is redlined. Layout was adjusted to avoid obsolete section breaks and split legends.

The original five workbook sheets, shared strings and styles remain byte-identical. Only the workbook's sheet index/relationship/content-type parts and new S6 worksheet change. Historical CTB segmentation, native image/ROI/scale provenance, printer-profile inconsistency, ethics typography and prospective archive questions remain comments; no scientific reanalysis or new factual confirmation is claimed.

## Reproduce

Use the existing papers-only environment, LibreOffice, and its existing `paper_build.compare` owner. From the repository root, with papers-only also on `PYTHONPATH`:

```text
python papers/mfd_platform/figure_restoration/recipe/restore.py --root papers/mfd_platform --compare
```

Export the three `*_revised.docx` files to PDF using LibreOffice's `writer_pdf_Export` filter with lossless images and no resolution reduction. Then run:

```text
python papers/mfd_platform/figure_restoration/recipe/verify.py --root papers/mfd_platform
```

The shared comparison performs real native accept/reject checks before publishing a tracked DOCX. `restoration_manifest.json` records edits and hashes. Failed intermediate comparisons were retained in the author's `agent-scratch/mfd/figure-restoration/` logs; they were not delivered as finished documents.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"anchor": "Identify and count CTB-positive neuronal cell bodies using the same cell segmentation settings and criteria for CTB labeling in every cropped image.",
"text": "This repeat-use instruction does not establish the configuration used for the historical observations. Please confirm historical segmentation/positivity settings and manual corrections from the run records, or state the remaining limitation without substituting current defaults."
}
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
71 changes: 71 additions & 0 deletions papers/mfd_platform/figure_restoration/delivery_checks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"documents": [
{
"file": "MFD_original_figures_tracked.docx",
"insertions": 64,
"deletions": 89,
"comments": 5,
"references_preserved": true,
"recording_enabled": true,
"native_accept_reject_text_media": true
},
{
"file": "Supplementary_Protocol_1_original_figures_tracked.docx",
"insertions": 123,
"deletions": 75,
"comments": 0,
"references_preserved": true,
"recording_enabled": true,
"native_accept_reject_text_media": true
},
{
"file": "Supplementary_Protocol_2_original_figures_tracked.docx",
"insertions": 6,
"deletions": 6,
"comments": 1,
"references_preserved": true,
"recording_enabled": true,
"native_accept_reject_text_media": true
}
],
"baseline": "Returned MFD V14 (latest PI prose located)",
"figure_order": [
"1",
"2",
"3",
"4",
"5"
],
"supplementary_figure_order": [
"S1",
"S2",
"S3"
],
"original_main_image_hashes": [
"4791cf190333d75c83ea04b758cf0bd2b179e62f5c864ba83c52ec70cd927296",
"14faa64f4a8aa2c42ba2c2edd0c48ac26d7acd38a7bdecb2d7cf7b815af3302b",
"4dfb2f5a0ec63a7f06ff89f780cdbdb5aa9d46adf49ad32b4f2a0412d95ade2c",
"f855ec072dab4ebb4ea7eeb0f2b2ae25ecb256c66ed4e3a12a0224fc4e5a1a75",
"9674e4ee7c31188165216be99b1e686921ac632e416dccfe22c4d13acde8b103"
],
"design_table_rows_in_S6": 12,
"original_workbook_cells_and_styles_byte_identical": true,
"fabrication_comparison_approaches": 11,
"pdfs": [
{
"file": "MFD_original_figures_revised.pdf",
"pages": 18,
"sha256": "e525ff4bc01f8d80d3ede6fdf719a52a9ef9de486a5e7e21cededeeac1360cf4"
},
{
"file": "Supplementary_Protocol_1_original_figures_revised.pdf",
"pages": 6,
"sha256": "53c58fe24c6d9170bb802a01471cde68a7db5fb05a414cd3fae53b5c6731bab9"
},
{
"file": "Supplementary_Protocol_2_original_figures_revised.pdf",
"pages": 5,
"sha256": "68ae62f76e23b4c153e62c883fadb3c9de4fcc3e4dd02c4a850591b102893859"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading