diff --git a/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx b/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx index e8d5495..eac9bcc 100644 Binary files a/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx and b/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx differ diff --git a/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf b/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf index 60dd74b..df354c0 100644 Binary files a/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf and b/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf differ diff --git a/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx b/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx index c13f04f..645a13f 100644 Binary files a/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx and b/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx differ diff --git a/papers/mfd_platform/figure_restoration/OpenMFD_Supplementary_Data_File_1.xlsx b/papers/mfd_platform/figure_restoration/OpenMFD_Supplementary_Data_File_1.xlsx index b05d5e3..e12eeec 100644 Binary files a/papers/mfd_platform/figure_restoration/OpenMFD_Supplementary_Data_File_1.xlsx and b/papers/mfd_platform/figure_restoration/OpenMFD_Supplementary_Data_File_1.xlsx differ diff --git a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.docx b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.docx index 178fbee..834f048 100644 Binary files a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.docx and b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.docx differ diff --git a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.pdf b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.pdf index 43198ab..aaf9261 100644 Binary files a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.pdf and b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_revised.pdf differ diff --git a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_tracked.docx b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_tracked.docx index 9eb8db2..362c31c 100644 Binary files a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_tracked.docx and b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_1_original_figures_tracked.docx differ diff --git a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_revised.pdf b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_revised.pdf index 578d9d0..66cff0d 100644 Binary files a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_revised.pdf and b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_revised.pdf differ diff --git a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_tracked.docx b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_tracked.docx index 32ac64e..b86b1c9 100644 Binary files a/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_tracked.docx and b/papers/mfd_platform/figure_restoration/Supplementary_Protocol_2_original_figures_tracked.docx differ diff --git a/papers/mfd_platform/figure_restoration/delivery_checks.json b/papers/mfd_platform/figure_restoration/delivery_checks.json index 1fa407d..c22a724 100644 --- a/papers/mfd_platform/figure_restoration/delivery_checks.json +++ b/papers/mfd_platform/figure_restoration/delivery_checks.json @@ -50,22 +50,23 @@ ], "design_table_rows_in_S6": 12, "original_workbook_cells_and_styles_byte_identical": true, + "sheet1_provenance_note_updated_from_main_figure_3g": true, "fabrication_comparison_approaches": 11, "pdfs": [ { "file": "MFD_original_figures_revised.pdf", "pages": 18, - "sha256": "e525ff4bc01f8d80d3ede6fdf719a52a9ef9de486a5e7e21cededeeac1360cf4" + "sha256": "acae3ee84ca222ad65bb80cf593b913f0c40bc93e55a15a57d79abb950fd35c8" }, { "file": "Supplementary_Protocol_1_original_figures_revised.pdf", "pages": 6, - "sha256": "53c58fe24c6d9170bb802a01471cde68a7db5fb05a414cd3fae53b5c6731bab9" + "sha256": "887748a23a67fc40a77a3a1aabd9ff4f15edb750dd6b3f7fe20c7e547d1df33d" }, { "file": "Supplementary_Protocol_2_original_figures_revised.pdf", "pages": 5, - "sha256": "68ae62f76e23b4c153e62c883fadb3c9de4fcc3e4dd02c4a850591b102893859" + "sha256": "855f43c7ccb6a392e5505d99d301345767985128a51e3d6a32aa0b59893a93bb" } ] } diff --git a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_prose_redline.docx b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_prose_redline.docx index 8b79fa2..8e859e1 100644 Binary files a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_prose_redline.docx and b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_prose_redline.docx differ diff --git a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.docx b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.docx index e8d5495..eac9bcc 100644 Binary files a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.docx and b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.docx differ diff --git a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.pdf b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.pdf index 60dd74b..df354c0 100644 Binary files a/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.pdf and b/papers/mfd_platform/figure_restoration/prose_review/MFD_for_Alyson_reading.pdf differ diff --git a/papers/mfd_platform/figure_restoration/prose_review/verification.json b/papers/mfd_platform/figure_restoration/prose_review/verification.json index 7085dc8..464a1e2 100644 --- a/papers/mfd_platform/figure_restoration/prose_review/verification.json +++ b/papers/mfd_platform/figure_restoration/prose_review/verification.json @@ -2,6 +2,7 @@ "scope": "Prose-only redline. Tristan original figures are fixed in both views. Full earlier comparison preserved.", "original_text_unchanged_in_comparison_baseline": true, "references_preserved": true, + "non_picture_revisions_identical_to_full_comparison": true, "native_accept_all": "Final reading text and five final figures", "native_reject_all": "Original Alyson prose and the SAME five final figures; artwork is intentionally not redlined", "drawings": 5, @@ -9,28 +10,26 @@ "insertions": 59, "deletions": 84, "retained_inputs": { - "/home/ts/wt/mfd--81533fcd85c44f248fd19b12c53dec11--mfd/papers/mfd_platform/v14_tracked/MFD_V14_original.docx": "e7b757e2f11883a87656425e8302741626588430d36da79c8ee4f1489914790e", - "/home/ts/wt/mfd--81533fcd85c44f248fd19b12c53dec11--mfd/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx": "d39abaa6671b6afec9861154312cc18687a555fcfce44d8023b35f1dfe0794e7", - "/home/ts/wt/mfd--81533fcd85c44f248fd19b12c53dec11--mfd/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx": "1a20de9b0da6e504e53da94f3a0444df5394b442eeb3dc36e439542a17e0e810", - "/home/ts/wt/mfd--81533fcd85c44f248fd19b12c53dec11--mfd/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf": "e525ff4bc01f8d80d3ede6fdf719a52a9ef9de486a5e7e21cededeeac1360cf4" + "/run/media/ts/nvme2/alyson-delivery-20261123/_work/OpenMFD/papers/mfd_platform/v14_tracked/MFD_V14_original.docx": "e7b757e2f11883a87656425e8302741626588430d36da79c8ee4f1489914790e", + "/run/media/ts/nvme2/alyson-delivery-20261123/_work/OpenMFD/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.docx": "24fae97dd3861c27da6138cb82a7e0311d3e2deccc50635251b2f7165bbc38ee", + "/run/media/ts/nvme2/alyson-delivery-20261123/_work/OpenMFD/papers/mfd_platform/figure_restoration/MFD_original_figures_tracked.docx": "ce427689232ce164c8ff67195253dd7d75f2da4441df6839d82fde645dd71071", + "/run/media/ts/nvme2/alyson-delivery-20261123/_work/OpenMFD/papers/mfd_platform/figure_restoration/MFD_original_figures_revised.pdf": "acae3ee84ca222ad65bb80cf593b913f0c40bc93e55a15a57d79abb950fd35c8" }, "files": [ { "name": "MFD_for_Alyson_reading.docx", - "bytes": 11978755, - "sha256": "d39abaa6671b6afec9861154312cc18687a555fcfce44d8023b35f1dfe0794e7" + "bytes": 11978773, + "sha256": "24fae97dd3861c27da6138cb82a7e0311d3e2deccc50635251b2f7165bbc38ee" }, { "name": "MFD_for_Alyson_reading.pdf", - "bytes": 12579929, - "sha256": "e525ff4bc01f8d80d3ede6fdf719a52a9ef9de486a5e7e21cededeeac1360cf4" + "bytes": 8297633, + "sha256": "acae3ee84ca222ad65bb80cf593b913f0c40bc93e55a15a57d79abb950fd35c8" }, { "name": "MFD_for_Alyson_prose_redline.docx", - "bytes": 11776460, - "sha256": "2cba8be200829bae1e9af546db4168ffb6cc1041842412289a910551523bcb88" + "bytes": 11776459, + "sha256": "02375ce05dfcabfeaa285f516cca27de6d40d329aaa9a336b7c676b11437d96d" } - ], - "non_picture_revisions_identical_to_full_comparison": true, - "all_comment_texts_unchanged": 5 + ] } diff --git a/papers/mfd_platform/figure_restoration/recipe/restore.py b/papers/mfd_platform/figure_restoration/recipe/restore.py index 48eb825..059fa41 100644 --- a/papers/mfd_platform/figure_restoration/recipe/restore.py +++ b/papers/mfd_platform/figure_restoration/recipe/restore.py @@ -33,7 +33,11 @@ def change(self, anchor: str, old: str, new: str) -> None: text = self.paragraph_text(paragraph) if old not in text: raise ValueError((anchor, old)) - self.replace(text, text.replace(old, new), 'Match restored figure/table content') + # Replace only the changed words: replacing the whole paragraph text would + # pour it all into the first run, turning a bold run-in heading into a bold paragraph. + # Last occurrence first, so earlier positions stay valid. + for index in reversed(range(text.count(old))): + self.replace(old, new, 'Match restored figure/table content', paragraph=paragraph, occurrence=index) def separate_images(self) -> None: """Use inline image paragraphs; floating anchors confuse native comparison.""" @@ -59,6 +63,13 @@ def separate_images(self) -> None: def paragraph_node(self, text: str): paragraph = self.document.createElementNS(W, 'w:p') run = self.document.createElementNS(W, 'w:r') + # Match the document's Times New Roman; the theme default would substitute another face. + properties = self.document.createElementNS(W, 'w:rPr') + fonts = self.document.createElementNS(W, 'w:rFonts') + for key in ('ascii', 'hAnsi', 'cs'): + fonts.setAttributeNS(W, 'w:' + key, 'Times New Roman') + properties.appendChild(fonts) + run.appendChild(properties) node = self.document.createElementNS(W, 'w:t') node.appendChild(self.document.createTextNode(text)) run.appendChild(node) @@ -132,9 +143,9 @@ def apply(self) -> None: number = int(number) caption = re.sub(r'^Figure \d+:', f'Fig. {number}.', caption).replace('**', '') if number == 2: - for old, new in (('Kerman et al. (2015)', '(PMID: 26015546)'), - ('Taylor et al. (2015)', '(PMID: 26000554)'), - ('Coquinco et al. (2014)', '(PMID: 24662423)')): + for old, new in (('inspired by Kerman et al. (2015)', 'inspired by a published myelination assay (PMID: 26015546)'), + ('inspired by Taylor et al. (2015)', 'inspired by a microfluidic gradient platform (PMID: 26000554)'), + ('inspired by Coquinco et al. (2014)', 'inspired by a model of synaptic competition (PMID: 24662423)')): caption = caption.replace(old, new) if number == 4: caption = caption.replace('(Protocol S1; mold fabrication in Protocol S2).', @@ -164,6 +175,14 @@ def apply(self) -> None: self.image_changes.append({'figure': number, 'asset': str(asset.relative_to(self.root)), 'sha256': sha(asset), 'part': name, 'width': width, 'height': height}) self.layout_figures() + # Word's auto-fit footer frame is 13.45pt wide (cx=170815), which LibreOffice wraps + # vertically for two-digit page numbers ("1\n5"). Widening to 36pt fixes both PDF and Word. + for name in list(self.entries): + if name.startswith('word/footer') and name.endswith('.xml'): + entry, data = self.entries[name] + if b'cx="170815"' in data: + data = data.replace(b'cx="170815"', b'cx="457200"').replace(b'width:13.45pt', b'width:36pt') + self.entries[name] = (entry, data) def layout_figures(self) -> None: """Keep each restored composite and complete legend on one reading page.""" @@ -286,9 +305,8 @@ def apply(self) -> None: spacing.setAttributeNS(W, 'w:after', '40'); spacing.setAttributeNS(W, 'w:line', '240') properties.appendChild(spacing); paragraph.insertBefore(properties, paragraph.firstChild) run = paragraph.getElementsByTagNameNS(W, 'r')[0] - properties = self.document.createElementNS(W, 'w:rPr') + properties = run.getElementsByTagNameNS(W, 'rPr')[0] size = self.document.createElementNS(W, 'w:sz'); size.setAttributeNS(W, 'w:val', '18'); properties.appendChild(size) - run.insertBefore(properties, run.firstChild) cell.appendChild(paragraph); row.appendChild(cell) comparison.appendChild(row) body.insertBefore(comparison, end) @@ -315,9 +333,10 @@ def workbook(original: Path, output: Path, rows: list[list[str]]) -> None: entries = {e.filename: (e, archive.read(e.filename)) for e in archive.infolist()} book = minidom.parseString(entries['xl/workbook.xml'][1]) sheets = book.getElementsByTagNameNS(S, 'sheets')[0] - if any(n.getAttribute('name') == 'S6' for n in sheets.childNodes if n.nodeType == n.ELEMENT_NODE): + declared = [n for n in sheets.childNodes if n.nodeType == n.ELEMENT_NODE] + if any(n.getAttribute('name').startswith('S6') for n in declared): raise ValueError('Source workbook already has S6') - identifiers = [int(n.getAttribute('sheetId')) for n in sheets.childNodes if n.nodeType == n.ELEMENT_NODE] + identifiers = [int(n.getAttribute('sheetId')) for n in declared] identifier = max(identifiers) + 1 rels = minidom.parseString(entries['xl/_rels/workbook.xml.rels'][1]) rel = rels.createElementNS(rels.documentElement.namespaceURI, 'Relationship') @@ -326,8 +345,11 @@ def workbook(original: Path, output: Path, rows: list[list[str]]) -> None: rel.setAttribute('Type', R + '/worksheet') rel.setAttribute('Target', f'worksheets/sheet{identifier}.xml') rels.documentElement.appendChild(rel) - sheet = book.createElementNS(S, 'sheet') - sheet.setAttribute('name', 'S6'); sheet.setAttribute('sheetId', str(identifier)) + # minidom writes names as given: the new entry copies its siblings' prefix + # and relationship-namespace declaration, or the workbook is not XML at all. + sheet = book.createElementNS(S, declared[0].tagName) + sheet.setAttribute('xmlns:r', R) + sheet.setAttribute('name', 'S6 Design specifications'); sheet.setAttribute('sheetId', str(identifier)) sheet.setAttributeNS(R, 'r:id', rid); sheets.appendChild(sheet) xml = minidom.parseString(f'') data = xml.getElementsByTagNameNS(S, 'sheetData')[0] @@ -361,15 +383,26 @@ def workbook(original: Path, output: Path, rows: list[list[str]]) -> None: types.documentElement.appendChild(content) for name, document in [('xl/workbook.xml', book), ('xl/_rels/workbook.xml.rels', rels), ('[Content_Types].xml', types)]: entries[name] = (entries[name][0], document.toxml(encoding='utf-8')) + minidom.parseString(entries[name][1]) name = f'xl/worksheets/sheet{identifier}.xml' entries[name] = (name, xml.toxml(encoding='utf-8')) + # The main figures no longer include a panel 3G; point the provenance note at what exists. + heights = entries['xl/worksheets/sheet1.xml'] + stale = b'Main Figure 3G' + assert heights[1].count(stale) == 1 + entries['xl/worksheets/sheet1.xml'] = (heights[0], heights[1].replace( + stale, b'Supplementary data only; not plotted in a main figure')) with ZipFile(output, 'w', compression=ZIP_DEFLATED) as archive: for entry, payload in entries.values(): archive.writestr(entry, payload) with ZipFile(original) as old, ZipFile(output) as new: for name in old.namelist(): if name.startswith(('xl/worksheets/', 'xl/sharedStrings', 'xl/styles')): - assert old.read(name) == new.read(name), name + expected = old.read(name) + if name == 'xl/worksheets/sheet1.xml': + expected = expected.replace(b'Main Figure 3G', + b'Supplementary data only; not plotted in a main figure') + assert expected == new.read(name), name def main() -> None: diff --git a/papers/mfd_platform/figure_restoration/recipe/verify.py b/papers/mfd_platform/figure_restoration/recipe/verify.py index 972cf3f..78277ef 100644 --- a/papers/mfd_platform/figure_restoration/recipe/verify.py +++ b/papers/mfd_platform/figure_restoration/recipe/verify.py @@ -94,12 +94,17 @@ def main(): with ZipFile(root / 'v14_tracked/OpenMFD_Supplementary_Data_File_1.xlsx') as original, ZipFile(out / 'OpenMFD_Supplementary_Data_File_1.xlsx') as revised: for name in original.namelist(): if name.startswith(('xl/worksheets/', 'xl/sharedStrings', 'xl/styles')): - assert original.read(name) == revised.read(name), name + expected = original.read(name) + if name == 'xl/worksheets/sheet1.xml': + expected = expected.replace(b'Main Figure 3G', + b'Supplementary data only; not plotted in a main figure') + assert expected == revised.read(name), name sheet = ET.fromstring(revised.read('xl/worksheets/sheet6.xml')) rows = [[ ''.join(c.itertext()) for c in row] for row in sheet.find(S + 'sheetData')] assert rows == manifest['design_rows'] report['design_table_rows_in_S6'] = len(rows) report['original_workbook_cells_and_styles_byte_identical'] = True + report['sheet1_provenance_note_updated_from_main_figure_3g'] = True report['fabrication_comparison_approaches'] = len(actual) - 1 report['pdfs'] = [] diff --git a/papers/mfd_platform/figure_restoration/restoration_manifest.json b/papers/mfd_platform/figure_restoration/restoration_manifest.json index 09c9476..003dfbe 100644 --- a/papers/mfd_platform/figure_restoration/restoration_manifest.json +++ b/papers/mfd_platform/figure_restoration/restoration_manifest.json @@ -5,111 +5,116 @@ "original": "v14_tracked/MFD_V14_original.docx", "revised": "MFD_original_figures_revised.docx", "original_sha256": "e7b757e2f11883a87656425e8302741626588430d36da79c8ee4f1489914790e", - "revised_sha256": "d39abaa6671b6afec9861154312cc18687a555fcfce44d8023b35f1dfe0794e7", + "revised_sha256": "24fae97dd3861c27da6138cb82a7e0311d3e2deccc50635251b2f7165bbc38ee", "edits": [ { - "old": "For the demonstrated two-compartment neuronal device, the single-unit photomask places two culture wells on opposite sides of 62 parallel microchannels with a design width of 10 \u00b5m and 30 \u00b5m interchannel gaps (Fig. 1B). The SU-8 channel features and SUEX well bases and alignment openings are represented as distinct coordinated mask layers. Repetition of the unit at 18 \u00d7 9 mm spacing produced a wafer-scale layout comprising 48 two-compartment devices in a 6 \u00d7 8 array, with 96 wells on a standard 9 mm plate grid (Fig. 1C). The corresponding insert models depict the two well-forming structures required for one device and their placement in the complete 96-insert array (Fig. 1D). OpenMFD also generated the matching plate-frame model (Fig. 1E). The assembled microfluidic plate shown in Fig. 1F demonstrates the physical plate format obtained from this coordinated design.", - "new": "For the demonstrated two-compartment neuronal device, the single-unit photomask places two culture wells on opposite sides of 62 parallel microchannels with a design width of 10 \u00b5m and 30 \u00b5m interchannel gaps (Fig. 1B). The SU-8 channel features and SUEX well bases and alignment openings are represented as distinct coordinated mask layers. Repetition of the unit at 18 \u00d7 9 mm spacing produced a wafer-scale layout comprising 48 two-compartment devices in a 6 \u00d7 8 array, with 96 wells on a standard 9 mm plate grid (Fig. 1C). OpenMFD also generated the matching plate-frame model (Fig. 1D). The corresponding insert models depict the two well-forming structures required for one device and their placement in the complete 96-insert array (Fig. 1E,F). The assembled microfluidic plate shown in Fig. 1G demonstrates the physical plate format obtained from this coordinated design.", + "old": "The corresponding insert models depict the two well-forming structures required for one device and their placement in the complete 96-insert array (Fig. 1D). OpenMFD also generated the matching plate-frame model (Fig. 1E). The assembled microfluidic plate shown in Fig. 1F", + "new": "OpenMFD also generated the matching plate-frame model (Fig. 1D). The corresponding insert models depict the two well-forming structures required for one device and their placement in the complete 96-insert array (Fig. 1E,F). The assembled microfluidic plate shown in Fig. 1G", "reason": "Match restored figure/table content" }, { - "old": "The principal device comprised a 6 \u00d7 8 array of 48 two-compartment microfluidic units containing 96 wells on a standard 9 mm grid. Each device incorporated 62 microchannels with a nominal width of 10 \u00b5m and 30 \u00b5m interchannel gaps. A horizontal scaling factor of 1.0226 was applied to matching fabrication files to compensate for polydimethylsiloxane (PDMS) shrinkage during curing at 100 \u00b0C. Additional designs were generated for oligodendrocyte myelination, orthogonal-gradient axon guidance, and three-compartment neuronal culture configurations. Design dimensions are provided in Table S1 within Supplementary Protocol 1, and alternative design geometries are summarized in Fig. 2 and the OpenMFD repository.", - "new": "The principal device comprised a 6 \u00d7 8 array of 48 two-compartment microfluidic units containing 96 wells on a standard 9 mm grid. Each device incorporated 62 microchannels with a nominal width of 10 \u00b5m and 30 \u00b5m interchannel gaps. A horizontal scaling factor of 1.0226 was applied to matching fabrication files to compensate for polydimethylsiloxane (PDMS) shrinkage during curing at 100 \u00b0C. Additional designs were generated for oligodendrocyte myelination, orthogonal-gradient axon guidance, and three-compartment neuronal culture configurations. Design dimensions are provided in Supplementary Data File 1, sheet S6, and alternative design geometries are summarized in Fig. 2 and the OpenMFD repository.", + "old": "Design dimensions are provided in Table S1 within Supplementary Protocol 1", + "new": "Design dimensions are provided in Supplementary Data File 1, sheet S6", "reason": "Match restored figure/table content" }, { - "old": "Hybrid mold fabrication - Reusable hybrid molds were fabricated on 6-inch silicon wafers by combining photolithographically patterned SU-8 and SUEX photoresists with 3D-printed resin inserts (Fig. 3). The photolithographic structures comprised two nominally 5 \u00b5m layers of SU-8 2005 (Kayaku Advanced Materials) and a 200 \u00b5m layer of SUEX K200 dry-film photoresist (DJ MicroLaminates). The first SU-8 layer was uniformly exposed to form a continuous base beneath the microchannel features. A second SU-8 layer was patterned through the microchannel photomask, developed, and baked at 150 \u00b0C for 10 min before SUEX lamination. The SUEX layer defined the well bases and alignment openings and was exposed through an LP360 long-pass filter. Complete photolithographic processing parameters are provided in Supplementary Protocol 1.", - "new": "Hybrid mold fabrication - Reusable hybrid molds were fabricated on 6-inch silicon wafers by combining photolithographically patterned SU-8 and SUEX photoresists with 3D-printed resin inserts (Fig. 3). The photolithographic structures comprised two nominally 5 \u00b5m layers of SU-8 2005 (Kayaku Advanced Materials) and a 200 \u00b5m layer of SUEX K200 dry-film photoresist (DJ MicroLaminates). The first SU-8 layer was uniformly exposed to form a continuous base beneath the microchannel features. A second SU-8 layer was patterned through the microchannel photomask, developed, and baked at 150 \u00b0C for 10 min before SUEX lamination. The SUEX layer defined the well bases and alignment openings and was exposed through an LP360 long-pass filter. Process-development observations are shown in Supplementary Figs. S1\u2013S2. Complete photolithographic processing parameters are provided in Supplementary Protocol 1.", + "old": "Complete photolithographic processing parameters are provided in Supplementary Protocol 1.", + "new": "Process-development observations are shown in Supplementary Figs. S1\u2013S2. Complete photolithographic processing parameters are provided in Supplementary Protocol 1.", "reason": "Match restored figure/table content" }, { - "old": "Simultaneous bonding required accommodation of variation in the heights of the printed inserts. Measurements across one 96-position array showed a mean pin height of 5.551 mm, a standard deviation of 26.7 \u00b5m, and a total range of 116 \u00b5m (5.483\u20135.599 mm; Fig. 3G; Supplementary Data File 1, sheet S1). Rigid clamping did not provide uniform contact across the array. Incorporating a compressible ethylene propylene diene monomer (EPDM) backing into the clamping assembly accommodated differences in insert height and enabled collective seating of the alignment pins within their corresponding SUEX openings (Fig. 3C,D). Following adhesive curing, the flexible printing plate could be separated from the bonded inserts, leaving the array attached to the patterned silicon wafer (Fig. 3E). The patterned SUEX features and alignment openings before insert attachment are shown in Fig. 3F.", - "new": "Simultaneous bonding required accommodation of variation in the heights of the printed inserts. Measurements across one 96-position array showed a mean pin height of 5.551 mm, a standard deviation of 26.7 \u00b5m, and a total range of 116 \u00b5m (5.483\u20135.599 mm; Supplementary Data File 1, sheet S1). Rigid clamping did not provide uniform contact across the array. Incorporating a compressible ethylene propylene diene monomer (EPDM) backing into the clamping assembly accommodated differences in insert height and enabled collective seating of the alignment pins within their corresponding SUEX openings (Fig. 3C,D). Following adhesive curing, the flexible printing plate could be separated from the bonded inserts, leaving the array attached to the patterned silicon wafer (Fig. 3E). The patterned SUEX features and alignment openings before insert attachment are shown in Fig. 3F.", + "old": "; Fig. 3G; Supplementary Data File 1, sheet S1", + "new": "; Supplementary Data File 1, sheet S1", "reason": "Match restored figure/table content" }, { - "old": "The insert-height measurements in Fig. 3G identify an important constraint on collective assembly: across 96 positions, mean pin height was 5.551 mm, with a standard deviation of 26.7 \u00b5m and a 116 \u00b5m range. Rigid clamping did not provide uniform contact, whereas a compressible EPDM backing accommodated height variation during bonding. Square pins and corresponding SUEX openings provided a nominal 75 \u00b5m clearance per side, allowing registration without individual insert positioning. These results support the practicality of array transfer, but they do not quantify final alignment error or compare bonding yield statistically between clamping methods. The SU-8 base layer, pre-SUEX bake, and filtered SUEX exposure likewise reflect process-development solutions to observed adhesion and surface-flatness problems rather than independently controlled optimization studies.", - "new": "The insert-height measurements (Supplementary Data File 1, sheet S1) identify an important constraint on collective assembly: across 96 positions, mean pin height was 5.551 mm, with a standard deviation of 26.7 \u00b5m and a 116 \u00b5m range. Rigid clamping did not provide uniform contact, whereas a compressible EPDM backing accommodated height variation during bonding. Square pins and corresponding SUEX openings provided a nominal 75 \u00b5m clearance per side, allowing registration without individual insert positioning. These results support the practicality of array transfer, but they do not quantify final alignment error or compare bonding yield statistically between clamping methods. The SU-8 base layer, pre-SUEX bake, and filtered SUEX exposure likewise reflect process-development solutions to observed adhesion and surface-flatness problems rather than independently controlled optimization studies.", + "old": "The insert-height measurements in Fig. 3G", + "new": "The insert-height measurements (Supplementary Data File 1, sheet S1)", "reason": "Match restored figure/table content" }, { - "old": "The reusable hybrid molds were used to cast complete polydimethylsiloxane (PDMS) microfluidic arrays in which the integrated resin inserts formed the culture wells directly (Fig. 4A). Each cast contained 48 two-compartment devices with 96 preformed well openings, eliminating the need to punch individual reservoirs after demolding (Fig. 4B). The well-forming inserts remained attached to the mold between production cycles, allowing subsequent plates to be cast without repeating photolithography, insert alignment, or insert bonding. Multiple filled molds could also be processed in parallel using the same wafer-rack arrangement.", - "new": "The reusable hybrid molds were used to cast complete polydimethylsiloxane (PDMS) microfluidic arrays in which the integrated resin inserts formed the culture wells directly (Fig. 4, steps 1\u20132). Each cast contained 48 two-compartment devices with 96 preformed well openings, eliminating the need to punch individual reservoirs after demolding (Fig. 4B). The well-forming inserts remained attached to the mold between production cycles, allowing subsequent plates to be cast without repeating photolithography, insert alignment, or insert bonding. Multiple filled molds could also be processed in parallel using the same wafer-rack arrangement.", + "old": "(Fig. 4A)", + "new": "(Fig. 4, steps 1\u20132)", "reason": "Match restored figure/table content" }, { - "old": "The reusable hybrid molds were used to cast complete polydimethylsiloxane (PDMS) microfluidic arrays in which the integrated resin inserts formed the culture wells directly (Fig. 4, steps 1\u20132). Each cast contained 48 two-compartment devices with 96 preformed well openings, eliminating the need to punch individual reservoirs after demolding (Fig. 4B). The well-forming inserts remained attached to the mold between production cycles, allowing subsequent plates to be cast without repeating photolithography, insert alignment, or insert bonding. Multiple filled molds could also be processed in parallel using the same wafer-rack arrangement.", - "new": "The reusable hybrid molds were used to cast complete polydimethylsiloxane (PDMS) microfluidic arrays in which the integrated resin inserts formed the culture wells directly (Fig. 4, steps 1\u20132). Each cast contained 48 two-compartment devices with 96 preformed well openings, eliminating the need to punch individual reservoirs after demolding (Fig. 4, step 5). The well-forming inserts remained attached to the mold between production cycles, allowing subsequent plates to be cast without repeating photolithography, insert alignment, or insert bonding. Multiple filled molds could also be processed in parallel using the same wafer-rack arrangement.", + "old": "(Fig. 4B)", + "new": "(Fig. 4, step 5)", "reason": "Match restored figure/table content" }, { - "old": "The released PDMS arrays were trimmed along their molded cutting guides and bonded to glass to produce optically accessible culture substrates (Fig. 4C). Incorporation of the glass-backed arrays into printed support frames produced complete plate-format devices (Fig. 4D). The final assemblies retained the designed 9 mm well grid and were compatible with standard plate handling. These steps converted the wafer-scale cast into a practical culture plate while leaving the microfluidic architecture defined by the reusable mold.", - "new": "The released PDMS arrays were trimmed along their molded cutting guides and bonded to glass to produce optically accessible culture substrates (Fig. 4, steps 6\u20137). Incorporation of the glass-backed arrays into printed support frames produced complete plate-format devices (Fig. 4D). The final assemblies retained the designed 9 mm well grid and were compatible with standard plate handling. These steps converted the wafer-scale cast into a practical culture plate while leaving the microfluidic architecture defined by the reusable mold.", + "old": "(Fig. 4C)", + "new": "(Fig. 4, steps 6\u20137)", "reason": "Match restored figure/table content" }, { - "old": "The released PDMS arrays were trimmed along their molded cutting guides and bonded to glass to produce optically accessible culture substrates (Fig. 4, steps 6\u20137). Incorporation of the glass-backed arrays into printed support frames produced complete plate-format devices (Fig. 4D). The final assemblies retained the designed 9 mm well grid and were compatible with standard plate handling. These steps converted the wafer-scale cast into a practical culture plate while leaving the microfluidic architecture defined by the reusable mold.", - "new": "The released PDMS arrays were trimmed along their molded cutting guides and bonded to glass to produce optically accessible culture substrates (Fig. 4, steps 6\u20137). Incorporation of the glass-backed arrays into printed support frames produced complete plate-format devices (Fig. 4, steps 8\u20139). The final assemblies retained the designed 9 mm well grid and were compatible with standard plate handling. These steps converted the wafer-scale cast into a practical culture plate while leaving the microfluidic architecture defined by the reusable mold.", + "old": "(Fig. 4D)", + "new": "(Fig. 4, steps 8\u20139)", "reason": "Match restored figure/table content" }, { - "old": "To assess repeated manufacturing performance, we recorded the outcomes of five hybrid molds assembled using the optimized procedure (Fig. 4E). Three molds entered routine use and collectively produced more than 50 usable PDMS casts. Of the two remaining molds, one fractured during demolding and the other was lost when PDMS leaked beneath the wafer and cured within the wafer rack. The most recently fabricated molds remained in use for more than eight months without visible deterioration of their patterned structures or attached inserts. These observations support repeated mold use, although the available records do not establish a per-cast success rate or mold-specific lifetime distribution.", - "new": "To assess repeated manufacturing performance, we recorded the outcomes of five hybrid molds assembled using the optimized procedure. Three molds entered routine use and collectively produced more than 50 usable PDMS casts. Of the two remaining molds, one fractured during demolding and the other was lost when PDMS leaked beneath the wafer and cured within the wafer rack. The most recently fabricated molds remained in use for more than eight months without visible deterioration of their patterned structures or attached inserts. These observations support repeated mold use, although the available records do not establish a per-cast success rate or mold-specific lifetime distribution.", + "old": " (Fig. 4E)", + "new": "", "reason": "Match restored figure/table content" }, { - "old": "The retained inserts generated all 96 wells during each PDMS cast, separating one-time cleanroom-based mold production from routine plate fabrication. Three molds collectively yielded more than 50 usable casts (Fig. 4E), and the most recent molds remained in use for over eight months without visible deterioration. A parylene C coating permitted demolding without additional silane release treatment and kept the printed resin and adhesive within the mold rather than the finished culture device. Parylene has previously been investigated as an anti-adhesion coating in PDMS double casting (DOI: 10.1016/j.sna.2012.09.024). Protective effects of parylene on resin-printed components have been demonstrated in other biological applications (PMID: 37534979), although coating performance and potential leaching were not separately quantified here. One wafer fractured during demolding and another mold was lost after PDMS leaked beneath the wafer; these distinct failures do not establish a common mechanism. Nor did the present experiments quantify per-mold casting yields, production time, or cost savings relative to other methods.", - "new": "The retained inserts generated all 96 wells during each PDMS cast, separating one-time cleanroom-based mold production from routine plate fabrication. Three molds collectively yielded more than 50 usable casts, and the most recent molds remained in use for over eight months without visible deterioration. A parylene C coating permitted demolding without additional silane release treatment and kept the printed resin and adhesive within the mold rather than the finished culture device. Parylene has previously been investigated as an anti-adhesion coating in PDMS double casting (DOI: 10.1016/j.sna.2012.09.024). Protective effects of parylene on resin-printed components have been demonstrated in other biological applications (PMID: 37534979), although coating performance and potential leaching were not separately quantified here. One wafer fractured during demolding and another mold was lost after PDMS leaked beneath the wafer; these distinct failures do not establish a common mechanism. Nor did the present experiments quantify per-mold casting yields, production time, or cost savings relative to other methods.", + "old": " (Fig. 4E)", + "new": "", "reason": "Match restored figure/table content" }, { - "old": "The assembled microfluidic plates retained the standard 9 mm well-centre spacing defined by OpenMFD, allowing eight wells within a plate column to be filled simultaneously using a conventional multichannel pipette (Fig. 5A). Both the Opera Phenix Plus and ImageXpress Micro Confocal high-content imaging systems focused on and acquired images of the assembled arrays without custom plate handling or instrument modification. The Opera Phenix Plus was used for the fluorescent tracer and neuronal labeling measurements described below. Thus, the framed arrays were compatible with established liquid-handling and automated microscopy workflows without requiring changes to the plate architecture.", - "new": "The assembled microfluidic plates retained the standard 9 mm well-centre spacing defined by OpenMFD, allowing eight wells within a plate column to be filled simultaneously using a conventional multichannel pipette (Fig. 1G). Both the Opera Phenix Plus and ImageXpress Micro Confocal high-content imaging systems focused on and acquired images of the assembled arrays without custom plate handling or instrument modification. The Opera Phenix Plus was used for the fluorescent tracer and neuronal labeling measurements described below. Thus, the framed arrays were compatible with established liquid-handling and automated microscopy workflows without requiring changes to the plate architecture.", + "old": "(Fig. 5A)", + "new": "(Fig. 1G)", "reason": "Match restored figure/table content" }, { - "old": "Fluorescent tracer transport assay - Directional tracer redistribution was examined in 24 two-compartment devices. Alexa Fluor 568-conjugated secondary antibody (1:1000 in phosphate-buffered saline [PBS]) was introduced into the left compartment at 25 \u00b5L, while Alexa Fluor 488-conjugated secondary antibody (1:1000 in PBS) was introduced into the right compartment at 50 \u00b5L. Devices were imaged immediately after loading and following 72 h of incubation without replenishment or volume adjustment. Red and green fluorescence distributions were compared qualitatively between the two time points (Fig. 5B).", - "new": "Fluorescent tracer transport assay - Directional tracer redistribution was examined in 24 two-compartment devices. Alexa Fluor 568-conjugated secondary antibody (1:1000 in phosphate-buffered saline [PBS]) was introduced into the left compartment at 25 \u00b5L, while Alexa Fluor 488-conjugated secondary antibody (1:1000 in PBS) was introduced into the right compartment at 50 \u00b5L. Devices were imaged immediately after loading and following 72 h of incubation without replenishment or volume adjustment. Red and green fluorescence distributions were compared qualitatively between the two time points (Fig. 5A).", + "old": "(Fig. 5B)", + "new": "(Fig. 5A)", "reason": "Match restored figure/table content" }, { - "old": "We next examined tracer redistribution between the two compartments of 24 devices following unequal initial loading volumes (Fig. 5B). Alexa Fluor 568-conjugated antibody (red) was introduced into the left compartment at 25 \u00b5L and Alexa Fluor 488-conjugated antibody (green) into the right compartment at 50 \u00b5L. Immediately after loading, fluorescence was predominantly confined to the respective loading compartments. After 72 h without medium replenishment or volume adjustment, green fluorescence was visible in the initially lower-volume left compartments, whereas comparatively little red fluorescence had redistributed in the opposite direction. The observed pattern was consistent with net tracer transport in the direction of the initial hydrostatic volume difference. Because fluorescence was recorded only at the initial and final time points, neither the magnitude nor the persistence of fluid flow could be determined; continuous compartmental isolation over the 72 h interval was not established.", - "new": "We next examined tracer redistribution between the two compartments of 24 devices following unequal initial loading volumes (Fig. 5A). Alexa Fluor 568-conjugated antibody (red) was introduced into the left compartment at 25 \u00b5L and Alexa Fluor 488-conjugated antibody (green) into the right compartment at 50 \u00b5L. Immediately after loading, fluorescence was predominantly confined to the respective loading compartments. After 72 h without medium replenishment or volume adjustment, green fluorescence was visible in the initially lower-volume left compartments, whereas comparatively little red fluorescence had redistributed in the opposite direction. The observed pattern was consistent with net tracer transport in the direction of the initial hydrostatic volume difference. Because fluorescence was recorded only at the initial and final time points, neither the magnitude nor the persistence of fluid flow could be determined; continuous compartmental isolation over the 72 h interval was not established.", + "old": "(Fig. 5B)", + "new": "(Fig. 5A)", "reason": "Match restored figure/table content" }, { - "old": "We then assessed whether the devices supported compartmentalized primary neuronal culture and retrograde axonal labeling. Cortical neurons isolated from one embryonic day 18 rat embryo were distributed across three separately assembled plates and maintained for 11 days in vitro (DIV). At DIV10, Alexa Fluor 647-conjugated cholera toxin subunit B (CTB-647) was applied selectively to the distal compartments. CTB-positive neuronal cell bodies were observed in the somatic compartments 24 h later, consistent with axonal extension into the distal compartments, uptake of the tracer, and retrograde transport (Fig. 5C). Representative images from each plate are shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", - "new": "We then assessed whether the devices supported compartmentalized primary neuronal culture and retrograde axonal labeling. Cortical neurons isolated from one embryonic day 18 rat embryo were distributed across three separately assembled plates and maintained for 11 days in vitro (DIV). At DIV10, Alexa Fluor 647-conjugated cholera toxin subunit B (CTB-647) was applied selectively to the distal compartments. CTB-positive neuronal cell bodies were observed in the somatic compartments 24 h later, consistent with axonal extension into the distal compartments, uptake of the tracer, and retrograde transport (Fig. 5B). Representative images from each plate are shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", + "old": "(Fig. 5C)", + "new": "(Fig. 5B)", "reason": "Match restored figure/table content" }, { - "old": "We then assessed whether the devices supported compartmentalized primary neuronal culture and retrograde axonal labeling. Cortical neurons isolated from one embryonic day 18 rat embryo were distributed across three separately assembled plates and maintained for 11 days in vitro (DIV). At DIV10, Alexa Fluor 647-conjugated cholera toxin subunit B (CTB-647) was applied selectively to the distal compartments. CTB-positive neuronal cell bodies were observed in the somatic compartments 24 h later, consistent with axonal extension into the distal compartments, uptake of the tracer, and retrograde transport (Fig. 5B). Representative images from each plate are shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", - "new": "We then assessed whether the devices supported compartmentalized primary neuronal culture and retrograde axonal labeling. Cortical neurons isolated from one embryonic day 18 rat embryo were distributed across three separately assembled plates and maintained for 11 days in vitro (DIV). At DIV10, Alexa Fluor 647-conjugated cholera toxin subunit B (CTB-647) was applied selectively to the distal compartments. CTB-positive neuronal cell bodies were observed in the somatic compartments 24 h later, consistent with axonal extension into the distal compartments, uptake of the tracer, and retrograde transport (Fig. 5B). A representative image from Plate 1, device R03C04, is shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", + "old": "Representative images from each plate are shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", + "new": "A representative image from Plate 1, device R03C04, is shown alongside the corresponding image-analysis outlines used to identify labeled cell bodies.", "reason": "Match restored figure/table content" }, { - "old": "Long-term neuronal growth was less consistent at the plate perimeter than in the interior devices. Quantitative analysis was therefore restricted to the 24 interior positions on each of the three plates, yielding 72 device-level observations. Five counts were excluded from descriptive summaries because inspection identified segmentation or cell-count artifacts; count magnitude alone was not an exclusion criterion. The resulting 67 analyzed devices comprised 22, 21, and 24 devices on Plates 1, 2, and 3, respectively (Fig. 5D; Supplementary Data File 1, sheet S5). Mean CTB-positive cell-body counts per device were 177.7 \u00b1 43.7 for Plate 1, 269.3 \u00b1 62.3 for Plate 2, and 203.6 \u00b1 32.4 for Plate 3 (mean \u00b1 standard deviation). The individual device values and all five excluded observations are retained in Supplementary Data File 1, sheet S5, and displayed in Fig. 5D. These were baseline measurements acquired before axotomy in a dimethyl sulfoxide-only experiment. Because all cultures originated from the same embryo, the plates and devices represent technical replicates rather than independent biological preparations.", - "new": "Long-term neuronal growth was less consistent at the plate perimeter than in the interior devices. Quantitative analysis was therefore restricted to the 24 interior positions on each of the three plates, yielding 72 device-level observations. Five counts were excluded from descriptive summaries because inspection identified segmentation or cell-count artifacts; count magnitude alone was not an exclusion criterion. The resulting 67 analyzed devices comprised 22, 21, and 24 devices on Plates 1, 2, and 3, respectively (Fig. 5C; Supplementary Data File 1, sheet S5). Mean CTB-positive cell-body counts per device were 177.7 \u00b1 43.7 for Plate 1, 269.3 \u00b1 62.3 for Plate 2, and 203.6 \u00b1 32.4 for Plate 3 (mean \u00b1 standard deviation). The individual device values and all five excluded observations are retained in Supplementary Data File 1, sheet S5, and displayed in Fig. 5C. These were baseline measurements acquired before axotomy in a dimethyl sulfoxide-only experiment. Because all cultures originated from the same embryo, the plates and devices represent technical replicates rather than independent biological preparations.", + "old": "Fig. 5D", + "new": "Fig. 5C", "reason": "Match restored figure/table content" }, { - "old": "The framed 48-device arrays accommodated multichannel pipetting and automated imaging on two high-content microscopy systems without instrument modification. Fluorescent tracer redistribution was consistent with transport in the direction of an initial hydrostatic volume difference, but two time points over 72 h could not establish flow rate, pressure stability, or sustained compartmental isolation. Compartmentalized neuronal cultures have also supported studies of axon-to-soma signaling and retrograde transport (PMIDs: 34190355; 36826992). In the present biological demonstration, selective distal application of CTB labeled cortical neuronal somata (Fig. 5C,D), supporting access to axons extending into the distal compartments rather than testing a particular axonal signaling mechanism. The 67 analyzed interior devices across three plates provided a device-level readout, but all neurons originated from one embryo. Thus, these findings demonstrate assay feasibility and within-preparation variability, not reproducibility across biological preparations or readiness for screening.", - "new": "The framed 48-device arrays accommodated multichannel pipetting and automated imaging on two high-content microscopy systems without instrument modification. Fluorescent tracer redistribution was consistent with transport in the direction of an initial hydrostatic volume difference, but two time points over 72 h could not establish flow rate, pressure stability, or sustained compartmental isolation. Compartmentalized neuronal cultures have also supported studies of axon-to-soma signaling and retrograde transport (PMIDs: 34190355; 36826992). In the present biological demonstration, selective distal application of CTB labeled cortical neuronal somata (Fig. 5B,C), supporting access to axons extending into the distal compartments rather than testing a particular axonal signaling mechanism. The 67 analyzed interior devices across three plates provided a device-level readout, but all neurons originated from one embryo. Thus, these findings demonstrate assay feasibility and within-preparation variability, not reproducibility across biological preparations or readiness for screening.", + "old": "Fig. 5D", + "new": "Fig. 5C", "reason": "Match restored figure/table content" }, { - "old": "A persistent manufacturing challenge is the integration of micrometer-scale channels with millimeter-scale, pipette-accessible culture reservoirs. Conventional polydimethylsiloxane (PDMS) soft lithography readily replicates lithographically patterned microfeatures, but reservoirs are commonly opened individually after curing, increasing manual handling as device numbers grow. For compartmentalized neuronal cultures, microchannel dimensions must also remain suitable for selective neurite access and robust experimental performance (PMID: 36111641). Multiscale molding has addressed this mismatch: hybrid milled and hot-embossed masters enabled simultaneous replication of channels and larger reservoirs without punching (PMID: 20049640), including in neuron\u2013glia co-culture devices (PMID: 22828584). Hybrid additive manufacturing has also combined photolithographic channel features with printed compartment structures to avoid manual post-processing (PMID: 32832365). Other microfluidic manufacturing strategies include CO2 laser-cut PDMS channels (DOI: 10.1109/COASE.2007.4341853) and rapidly fabricated optical-adhesive culture chips (PMID: 26657733). Micro-to-millimeter fabrication by combining 3D printing and photolithography has also been reported (DOI: 10.7567/1347-4065/ab09d0). Thus, multiscale fabrication and the elimination of reservoir punching are established; an important remaining objective is to coordinate customizable plate-scale geometries with efficient, repeatable mold assembly.", - "new": "A persistent manufacturing challenge is the integration of micrometer-scale channels with millimeter-scale, pipette-accessible culture reservoirs. Conventional polydimethylsiloxane (PDMS) soft lithography readily replicates lithographically patterned microfeatures, but reservoirs are commonly opened individually after curing, increasing manual handling as device numbers grow. For compartmentalized neuronal cultures, microchannel dimensions must also remain suitable for selective neurite access and robust experimental performance (PMID: 36111641). Multiscale molding has addressed this mismatch: hybrid milled and hot-embossed masters enabled simultaneous replication of channels and larger reservoirs without punching (PMID: 20049640), including in neuron\u2013glia co-culture devices (PMID: 22828584). Hybrid additive manufacturing has also combined photolithographic channel features with printed compartment structures to avoid manual post-processing (PMID: 32832365). Other microfluidic manufacturing strategies include CO2 laser-cut PDMS channels (DOI: 10.1109/COASE.2007.4341853) and rapidly fabricated optical-adhesive culture chips (PMID: 26657733). Micro-to-millimeter fabrication by combining 3D printing and photolithography has also been reported (DOI: 10.7567/1347-4065/ab09d0). The fabrication approaches are compared in Supplementary Table S1. Thus, multiscale fabrication and the elimination of reservoir punching are established; an important remaining objective is to coordinate customizable plate-scale geometries with efficient, repeatable mold assembly.", + "old": "(Fig. 5C,D)", + "new": "(Fig. 5B,C)", "reason": "Match restored figure/table content" }, { - "old": "The OpenMFD source code and fabrication files, including photolithographic masks, three-dimensional resin-insert models, and plate-frame designs, are available at https://github.com/trissim/OpenMFD. Supplementary Protocols 1 and 2 describe mold fabrication, device assembly, culture, and imaging, with Table S1 and Supplementary Figs. S1\u2013S3 documenting design dimensions and process/device characterization. Supplementary Data File 1 (OpenMFD_Supplementary_Data_File_1.xlsx) contains the 96 resin-insert height measurements (sheet S1), resin-printing settings (S2), HIPS frame-printing settings (S3), nine apparent microchannel-width measurements (S4), and 72 per-device neuronal cell counts with exclusion flags (S5). The workbook does not contain the original microscopy images or native G-code/slicer files, which should be supplied separately with the submission. A versioned software and fabrication archive will be deposited for permanent access.", - "new": "The OpenMFD source code and fabrication files, including photolithographic masks, three-dimensional resin-insert models, and plate-frame designs, are available at https://github.com/trissim/OpenMFD. Supplementary Protocols 1 and 2 describe mold fabrication, device assembly, culture, and imaging, with Supplementary Figs. S1\u2013S3 documenting process/device characterization. Supplementary Table S1 compares fabrication approaches; design dimensions are supplied in Supplementary Data File 1, sheet S6. Supplementary Data File 1 (OpenMFD_Supplementary_Data_File_1.xlsx) contains the 96 resin-insert height measurements (sheet S1), resin-printing settings (S2), HIPS frame-printing settings (S3), nine apparent microchannel-width measurements (S4), and 72 per-device neuronal cell counts with exclusion flags (S5). The workbook does not contain the original microscopy images or native G-code/slicer files, which should be supplied separately with the submission. A versioned software and fabrication archive will be deposited for permanent access.", + "old": "Thus, multiscale fabrication and the elimination of reservoir punching are established;", + "new": "The fabrication approaches are compared in Supplementary Table S1. Thus, multiscale fabrication and the elimination of reservoir punching are established;", "reason": "Match restored figure/table content" }, { - "old": "The OpenMFD source code and fabrication files, including photolithographic masks, three-dimensional resin-insert models, and plate-frame designs, are available at https://github.com/trissim/OpenMFD. Supplementary Protocols 1 and 2 describe mold fabrication, device assembly, culture, and imaging, with Supplementary Figs. S1\u2013S3 documenting process/device characterization. Supplementary Table S1 compares fabrication approaches; design dimensions are supplied in Supplementary Data File 1, sheet S6. Supplementary Data File 1 (OpenMFD_Supplementary_Data_File_1.xlsx) contains the 96 resin-insert height measurements (sheet S1), resin-printing settings (S2), HIPS frame-printing settings (S3), nine apparent microchannel-width measurements (S4), and 72 per-device neuronal cell counts with exclusion flags (S5). The workbook does not contain the original microscopy images or native G-code/slicer files, which should be supplied separately with the submission. A versioned software and fabrication archive will be deposited for permanent access.", - "new": "The OpenMFD source code and fabrication files, including photolithographic masks, three-dimensional resin-insert models, and plate-frame designs, are available at https://github.com/trissim/OpenMFD. Supplementary Protocols 1 and 2 describe mold fabrication, device assembly, culture, and imaging, with Supplementary Figs. S1\u2013S3 documenting process/device characterization. Supplementary Table S1 compares fabrication approaches; design dimensions are supplied in Supplementary Data File 1, sheet S6. Supplementary Data File 1 (OpenMFD_Supplementary_Data_File_1.xlsx) contains the 96 resin-insert height measurements (sheet S1), resin-printing settings (S2), HIPS frame-printing settings (S3), nine apparent microchannel-width measurements (S4), 72 per-device neuronal cell counts with exclusion flags (S5), and design specifications (S6). The workbook does not contain the original microscopy images or native G-code/slicer files, which should be supplied separately with the submission. A versioned software and fabrication archive will be deposited for permanent access.", + "old": "with Table S1 and Supplementary Figs. S1\u2013S3 documenting design dimensions and process/device characterization.", + "new": "with Supplementary Figs. S1\u2013S3 documenting process/device characterization. Supplementary Table S1 compares fabrication approaches; design dimensions are supplied in Supplementary Data File 1, sheet S6.", + "reason": "Match restored figure/table content" + }, + { + "old": "and 72 per-device neuronal cell counts with exclusion flags (S5).", + "new": "72 per-device neuronal cell counts with exclusion flags (S5), and design specifications (S6).", "reason": "Match restored figure/table content" }, { @@ -119,7 +124,7 @@ }, { "old": " Fig. 2. OpenMFD generates coordinated photomasks and resin-insert arrays for alternative compartmentalized microfluidic designs. (A, B) Four-well configuration inspired by an in vitro myelination assay (PMID: 26015546), with a 6 \u00d7 4 device array, 18 \u00d7 18 mm unit spacing, and 125 connecting microchannels (10 \u00b5m wide), together with an oligodendrocyte branch. (A) Single-device and wafer-scale photomasks; (B) corresponding individual and arrayed resin-insert models. (C, D) Orthogonal axon-guidance configuration inspired by a microfluidic gradient platform (PMID: 26000554), with a 6 \u00d7 4 array, 18 \u00d7 18 mm unit spacing, and 83 microchannels (10 \u00b5m wide) per arm, arranged to generate perpendicular gradients. (C) Photomask layouts; (D) corresponding resin-insert models. (E, F) Serial three-compartment configuration inspired by a model of synaptic competition (PMID: 24662423), with a 4 \u00d7 8 array, 27 \u00d7 9 mm unit spacing, and two successive sets of 125 connecting microchannels (10 \u00b5m wide). (E) Photomask layouts; (F) corresponding resin-insert models. For comparison, the experimentally fabricated two-compartment neuronal configuration (Fig. 1) comprises a 6 \u00d7 8 array with 18 \u00d7 9 mm unit spacing and 62 connecting microchannels (10 \u00b5m wide, separated by 30 \u00b5m gaps). All four configurations have a nominal well radius of 2.5 mm. Blue features indicate connecting microchannels, green outlines indicate well-base and alignment structures, and gold models represent 3D-printable resin inserts. The three alternative configurations shown here were generated computationally but were not fabricated or experimentally validated.", - "new": "Fig. 2. Matched photomasks and 3D-printable insert arrays for alternative layouts generated by OpenMFD. (A, B) Four-well myelination co-culture unit with intersecting channels, inspired by (PMID: 26015546). (C, D) Four-well orthogonal-gradient axon-guidance unit, inspired by (PMID: 26000554). (E, F) Serial three-compartment assay, inspired by (PMID: 24662423). Photomasks show single units and wafer-scale repetition (microchannels in blue; SUEX wells and alignment holes in green); CAD renderings show corresponding single and arrayed resin inserts. These are generated CAD designs, not fabricated devices.", + "new": "Fig. 2. Matched photomasks and 3D-printable insert arrays for alternative layouts generated by OpenMFD. (A, B) Four-well myelination co-culture unit with intersecting channels, inspired by a published myelination assay (PMID: 26015546). (C, D) Four-well orthogonal-gradient axon-guidance unit, inspired by a microfluidic gradient platform (PMID: 26000554). (E, F) Serial three-compartment assay, inspired by a model of synaptic competition (PMID: 24662423). Photomasks show single units and wafer-scale repetition (microchannels in blue; SUEX wells and alignment holes in green); CAD renderings show corresponding single and arrayed resin inserts. These are generated CAD designs, not fabricated devices.", "reason": "Restore original legend, retaining citation and scale qualifications" }, { @@ -183,33 +188,33 @@ "comparison_baseline": "MFD_original_figures_comparison_baseline.docx", "comparison_baseline_text_media_identical": true, "tracked": "MFD_original_figures_tracked.docx", - "tracked_sha256": "1a20de9b0da6e504e53da94f3a0444df5394b442eeb3dc36e439542a17e0e810", + "tracked_sha256": "ce427689232ce164c8ff67195253dd7d75f2da4441df6839d82fde645dd71071", "native_endpoints_verified": true }, { "original": "v14_tracked/Supplementary_Protocol_1_V14_original.docx", "revised": "Supplementary_Protocol_1_original_figures_revised.docx", "original_sha256": "24aea434819455b2e5aa8db223704f048a003a617af1d9d2a2b7b4616fcf8388", - "revised_sha256": "a8063f5896ed26a685272006ec697f757f88ef5a204fc6a3c1ae1e8806808f11", + "revised_sha256": "a5281cb4606fc55ea34e48e4e710119dc9185c93154422c87ed6842166deb111", "edits": [ { - "old": "The values in Table S1 describe the experimentally fabricated two-compartment neuronal layout before parylene coating, except where a measured property is explicitly indicated.", - "new": "The design specifications in Supplementary Data File 1, sheet S6, describe the experimentally fabricated two-compartment neuronal layout before parylene coating, except where a measured property is explicitly indicated.", + "old": "The values in Table S1 describe", + "new": "The design specifications in Supplementary Data File 1, sheet S6, describe", "reason": "Match restored figure/table content" }, { - "old": "3. To compensate for PDMS shrinkage during curing at 100\u00b0C, apply the same horizontal scale factor of 1.0226 (2.26% enlargement) to the matching mask and insert outputs (Table S1). Do not add a second scale correction in the printer\u2019s slicer.", - "new": "3. To compensate for PDMS shrinkage during curing at 100\u00b0C, apply the same horizontal scale factor of 1.0226 (2.26% enlargement) to the matching mask and insert outputs (Supplementary Data File 1, sheet S6). Do not add a second scale correction in the printer\u2019s slicer.", + "old": "(Table S1)", + "new": "(Supplementary Data File 1, sheet S6)", "reason": "Match restored figure/table content" }, { - "old": "4. Inspect the first PDMS cast for clean release, open wells, and intact channel regions. The design dimensions in Table S1 refer to the mold before coating.", - "new": "4. Inspect the first PDMS cast for clean release, open wells, and intact channel regions. The design dimensions in Supplementary Data File 1, sheet S6, refer to the mold before coating.", + "old": "The design dimensions in Table S1", + "new": "The design dimensions in Supplementary Data File 1, sheet S6,", "reason": "Match restored figure/table content" }, { - "old": "6. Inspect all insert pins and the printed array. Pin-height measurements on one 8 \u00d7 12 array showed a 116 \u00b5m range and were used to select the compressible backing; measurement of every production array is not required for the reported procedure (Fig. 3G; Supplementary Data File 1, sheet S1). The resin exposure, lift/retract, wash and post-cure settings are summarized in Supplementary Data File 1, sheet S2; retain the native profile with the associated slicer profile.", - "new": "6. Inspect all insert pins and the printed array. Pin-height measurements on one 8 \u00d7 12 array showed a 116 \u00b5m range and were used to select the compressible backing; measurement of every production array is not required for the reported procedure (Supplementary Data File 1, sheet S1). The resin exposure, lift/retract, wash and post-cure settings are summarized in Supplementary Data File 1, sheet S2; retain the native profile with the associated slicer profile.", + "old": "Fig. 3G; Supplementary Data File 1, sheet S1", + "new": "Supplementary Data File 1, sheet S1", "reason": "Match restored figure/table content" }, { @@ -222,7 +227,7 @@ "comparison_baseline": "Supplementary_Protocol_1_original_figures_comparison_baseline.docx", "comparison_baseline_text_media_identical": true, "tracked": "Supplementary_Protocol_1_original_figures_tracked.docx", - "tracked_sha256": "772cd33ed5023d83bffa90d5f093193da1b39a94a61e5b7a8ee48f586c90e30d", + "tracked_sha256": "bea241e58e809e104f00986966df0f1b62f584d1f17e059a486ccc988c8a9dc9", "native_endpoints_verified": true }, { @@ -235,7 +240,7 @@ "comparison_baseline": "Supplementary_Protocol_2_original_figures_comparison_baseline.docx", "comparison_baseline_text_media_identical": true, "tracked": "Supplementary_Protocol_2_original_figures_tracked.docx", - "tracked_sha256": "8519acc2257e3ae5f7f0a710c327929a9c39b344993a25ae7afab1e05554d1ed", + "tracked_sha256": "3c2d5407bce9e7b62e0514a2bd6b477ee47cec5660b5316d2ecd767588ee6418", "native_endpoints_verified": true } ], diff --git a/papers/mfd_platform/v14_tracked/recipe/apply_v14_edits.py b/papers/mfd_platform/v14_tracked/recipe/apply_v14_edits.py index c9b73f0..0f7c116 100644 --- a/papers/mfd_platform/v14_tracked/recipe/apply_v14_edits.py +++ b/papers/mfd_platform/v14_tracked/recipe/apply_v14_edits.py @@ -54,12 +54,16 @@ def paragraph(self, anchor: str): raise ValueError(f'{self.source_name}: expected one paragraph for {anchor!r}, found {len(matches)}') return matches[0] - def replace(self, old: str, new: str, reason: str) -> None: - paragraph = self.paragraph(old) + def replace(self, old: str, new: str, reason: str, paragraph=None, occurrence=None) -> None: + # An explicit paragraph lets a caller replace just the changed words, so the + # surrounding runs (for example a bold run-in heading) keep their formatting. + paragraph = paragraph if paragraph is not None else self.paragraph(old) text = self.paragraph_text(paragraph) - if text.count(old) != 1: + if occurrence is None and text.count(old) != 1: raise ValueError(f'Nonunique edit text: {old!r}') start = text.index(old) + for _ in range(occurrence or 0): + start = text.index(old, start + 1) end = start + len(old) offset = 0 inserted = False