From eedb091199104bd2f57f18bea2b93014f8d7be1e Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Sat, 17 Feb 2024 18:49:39 -0600 Subject: [PATCH 1/2] MNT #1355 recover missing definition --- utils/update_copyright_date.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/utils/update_copyright_date.py b/utils/update_copyright_date.py index 261b1933a3..01d7bee769 100755 --- a/utils/update_copyright_date.py +++ b/utils/update_copyright_date.py @@ -12,12 +12,19 @@ import os, sys import mimetypes -from build_preparation import ROOT_DIR_EXPECTED_RESOURCES import datetime YEAR = datetime.datetime.now().year LEFT_SIDE_TEXT_MATCH = "Copyright (C) " RIGHT_SIDE_TEXT_MATCH = " NeXus International Advisory Committee (NIAC)" +ROOT_DIR_EXPECTED_RESOURCES = { + "files": """COPYING LGPL.txt Makefile NXDL_VERSION + nxdl.xsd nxdlTypes.xsd README.md + """.split(), + "subdirs": """applications base_classes contributed_definitions manual + package utils www impatient-guide + """.split(), +} def update(filename): From 307e6a7c0f8be7c46e85764a9533b80f67cd9dd3 Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Sat, 17 Feb 2024 18:50:27 -0600 Subject: [PATCH 2/2] MNT #1355 update NeXus copyright notices --- Makefile | 2 +- applications/NXarchive.nxdl.xml | 2 +- applications/NXarpes.nxdl.xml | 2 +- applications/NXcanSAS.nxdl.xml | 2 +- applications/NXdirecttof.nxdl.xml | 2 +- applications/NXfluo.nxdl.xml | 2 +- applications/NXindirecttof.nxdl.xml | 2 +- applications/NXiqproc.nxdl.xml | 2 +- applications/NXlauetof.nxdl.xml | 2 +- applications/NXmonopd.nxdl.xml | 2 +- applications/NXmx.nxdl.xml | 2 +- applications/NXrefscan.nxdl.xml | 2 +- applications/NXreftof.nxdl.xml | 2 +- applications/NXsas.nxdl.xml | 2 +- applications/NXsastof.nxdl.xml | 2 +- applications/NXscan.nxdl.xml | 2 +- applications/NXspe.nxdl.xml | 2 +- applications/NXsqom.nxdl.xml | 2 +- applications/NXstxm.nxdl.xml | 2 +- applications/NXtas.nxdl.xml | 2 +- applications/NXtofnpd.nxdl.xml | 2 +- applications/NXtofraw.nxdl.xml | 2 +- applications/NXtofsingle.nxdl.xml | 2 +- applications/NXtomo.nxdl.xml | 2 +- applications/NXtomophase.nxdl.xml | 2 +- applications/NXtomoproc.nxdl.xml | 2 +- applications/NXxas.nxdl.xml | 2 +- applications/NXxasproc.nxdl.xml | 2 +- applications/NXxbase.nxdl.xml | 2 +- applications/NXxeuler.nxdl.xml | 2 +- applications/NXxkappa.nxdl.xml | 2 +- applications/NXxlaue.nxdl.xml | 2 +- applications/NXxlaueplate.nxdl.xml | 2 +- applications/NXxnb.nxdl.xml | 2 +- applications/NXxrot.nxdl.xml | 2 +- applications/nxdlformat.xsl | 2 +- base_classes/NXaperture.nxdl.xml | 2 +- base_classes/NXattenuator.nxdl.xml | 2 +- base_classes/NXbeam.nxdl.xml | 2 +- base_classes/NXbeam_stop.nxdl.xml | 2 +- base_classes/NXbending_magnet.nxdl.xml | 2 +- base_classes/NXcapillary.nxdl.xml | 2 +- base_classes/NXcite.nxdl.xml | 2 +- base_classes/NXcollection.nxdl.xml | 2 +- base_classes/NXcollimator.nxdl.xml | 2 +- base_classes/NXcrystal.nxdl.xml | 2 +- base_classes/NXcylindrical_geometry.nxdl.xml | 2 +- base_classes/NXdata.nxdl.xml | 2 +- base_classes/NXdetector.nxdl.xml | 2 +- base_classes/NXdetector_channel.nxdl.xml | 2 +- base_classes/NXdetector_group.nxdl.xml | 2 +- base_classes/NXdetector_module.nxdl.xml | 2 +- base_classes/NXdisk_chopper.nxdl.xml | 2 +- base_classes/NXentry.nxdl.xml | 2 +- base_classes/NXenvironment.nxdl.xml | 2 +- base_classes/NXevent_data.nxdl.xml | 2 +- base_classes/NXfermi_chopper.nxdl.xml | 2 +- base_classes/NXfilter.nxdl.xml | 2 +- base_classes/NXflipper.nxdl.xml | 2 +- base_classes/NXfresnel_zone_plate.nxdl.xml | 2 +- base_classes/NXgeometry.nxdl.xml | 2 +- base_classes/NXgrating.nxdl.xml | 2 +- base_classes/NXguide.nxdl.xml | 2 +- base_classes/NXinsertion_device.nxdl.xml | 2 +- base_classes/NXinstrument.nxdl.xml | 2 +- base_classes/NXlog.nxdl.xml | 2 +- base_classes/NXmirror.nxdl.xml | 2 +- base_classes/NXmoderator.nxdl.xml | 2 +- base_classes/NXmonitor.nxdl.xml | 2 +- base_classes/NXmonochromator.nxdl.xml | 2 +- base_classes/NXnote.nxdl.xml | 2 +- base_classes/NXobject.nxdl.xml | 2 +- base_classes/NXoff_geometry.nxdl.xml | 2 +- base_classes/NXorientation.nxdl.xml | 2 +- base_classes/NXparameters.nxdl.xml | 2 +- base_classes/NXpdb.nxdl.xml | 2 +- base_classes/NXpinhole.nxdl.xml | 2 +- base_classes/NXpolarizer.nxdl.xml | 2 +- base_classes/NXpositioner.nxdl.xml | 2 +- base_classes/NXprocess.nxdl.xml | 2 +- base_classes/NXroot.nxdl.xml | 2 +- base_classes/NXsample.nxdl.xml | 2 +- base_classes/NXsample_component.nxdl.xml | 2 +- base_classes/NXsensor.nxdl.xml | 2 +- base_classes/NXshape.nxdl.xml | 2 +- base_classes/NXslit.nxdl.xml | 2 +- base_classes/NXsource.nxdl.xml | 2 +- base_classes/NXsubentry.nxdl.xml | 2 +- base_classes/NXtransformations.nxdl.xml | 2 +- base_classes/NXtranslation.nxdl.xml | 2 +- base_classes/NXuser.nxdl.xml | 2 +- base_classes/NXvelocity_selector.nxdl.xml | 2 +- base_classes/NXxraylens.nxdl.xml | 2 +- base_classes/nxdlformat.xsl | 2 +- contributed_definitions/NXaberration.nxdl.xml | 2 +- contributed_definitions/NXaberration_model.nxdl.xml | 2 +- contributed_definitions/NXaberration_model_ceos.nxdl.xml | 2 +- contributed_definitions/NXaberration_model_nion.nxdl.xml | 2 +- contributed_definitions/NXadc.nxdl.xml | 2 +- contributed_definitions/NXaperture_em.nxdl.xml | 2 +- contributed_definitions/NXapm.nxdl.xml | 2 +- .../NXapm_composition_space_results.nxdl.xml | 2 +- contributed_definitions/NXapm_input_ranging.nxdl.xml | 2 +- contributed_definitions/NXapm_input_reconstruction.nxdl.xml | 2 +- .../NXapm_paraprobe_config_clusterer.nxdl.xml | 2 +- .../NXapm_paraprobe_config_distancer.nxdl.xml | 2 +- .../NXapm_paraprobe_config_intersector.nxdl.xml | 2 +- .../NXapm_paraprobe_config_nanochem.nxdl.xml | 2 +- contributed_definitions/NXapm_paraprobe_config_ranger.nxdl.xml | 2 +- .../NXapm_paraprobe_config_selector.nxdl.xml | 2 +- .../NXapm_paraprobe_config_spatstat.nxdl.xml | 2 +- .../NXapm_paraprobe_config_surfacer.nxdl.xml | 2 +- .../NXapm_paraprobe_config_tessellator.nxdl.xml | 2 +- .../NXapm_paraprobe_config_transcoder.nxdl.xml | 2 +- .../NXapm_paraprobe_results_clusterer.nxdl.xml | 2 +- .../NXapm_paraprobe_results_distancer.nxdl.xml | 2 +- .../NXapm_paraprobe_results_intersector.nxdl.xml | 2 +- .../NXapm_paraprobe_results_nanochem.nxdl.xml | 2 +- contributed_definitions/NXapm_paraprobe_results_ranger.nxdl.xml | 2 +- .../NXapm_paraprobe_results_selector.nxdl.xml | 2 +- .../NXapm_paraprobe_results_spatstat.nxdl.xml | 2 +- .../NXapm_paraprobe_results_surfacer.nxdl.xml | 2 +- .../NXapm_paraprobe_results_tessellator.nxdl.xml | 2 +- .../NXapm_paraprobe_results_transcoder.nxdl.xml | 2 +- contributed_definitions/NXbeam_path.nxdl.xml | 2 +- contributed_definitions/NXbeam_splitter.nxdl.xml | 2 +- contributed_definitions/NXcalibration.nxdl.xml | 2 +- contributed_definitions/NXcg_alpha_complex.nxdl.xml | 2 +- contributed_definitions/NXcg_cylinder_set.nxdl.xml | 2 +- contributed_definitions/NXcg_ellipsoid_set.nxdl.xml | 2 +- contributed_definitions/NXcg_face_list_data_structure.nxdl.xml | 2 +- contributed_definitions/NXcg_geodesic_mesh.nxdl.xml | 2 +- contributed_definitions/NXcg_grid.nxdl.xml | 2 +- contributed_definitions/NXcg_half_edge_data_structure.nxdl.xml | 2 +- contributed_definitions/NXcg_hexahedron_set.nxdl.xml | 2 +- contributed_definitions/NXcg_marching_cubes.nxdl.xml | 2 +- contributed_definitions/NXcg_parallelogram_set.nxdl.xml | 2 +- contributed_definitions/NXcg_point_set.nxdl.xml | 2 +- contributed_definitions/NXcg_polygon_set.nxdl.xml | 2 +- contributed_definitions/NXcg_polyhedron_set.nxdl.xml | 2 +- contributed_definitions/NXcg_polyline_set.nxdl.xml | 2 +- contributed_definitions/NXcg_roi_set.nxdl.xml | 2 +- contributed_definitions/NXcg_sphere_set.nxdl.xml | 2 +- contributed_definitions/NXcg_tetrahedron_set.nxdl.xml | 2 +- contributed_definitions/NXcg_triangle_set.nxdl.xml | 2 +- contributed_definitions/NXcg_triangulated_surface_mesh.nxdl.xml | 2 +- contributed_definitions/NXcg_unit_normal_set.nxdl.xml | 2 +- contributed_definitions/NXchamber.nxdl.xml | 2 +- contributed_definitions/NXchemical_composition.nxdl.xml | 2 +- contributed_definitions/NXcircuit_board.nxdl.xml | 2 +- contributed_definitions/NXclustering.nxdl.xml | 2 +- contributed_definitions/NXcollectioncolumn.nxdl.xml | 2 +- contributed_definitions/NXcontainer.nxdl.xml | 2 +- contributed_definitions/NXcoordinate_system_set.nxdl.xml | 2 +- contributed_definitions/NXcorrector_cs.nxdl.xml | 2 +- contributed_definitions/NXcs_computer.nxdl.xml | 2 +- contributed_definitions/NXcs_cpu.nxdl.xml | 2 +- contributed_definitions/NXcs_filter_boolean_mask.nxdl.xml | 2 +- contributed_definitions/NXcs_gpu.nxdl.xml | 2 +- contributed_definitions/NXcs_io_obj.nxdl.xml | 2 +- contributed_definitions/NXcs_io_sys.nxdl.xml | 2 +- contributed_definitions/NXcs_mm_sys.nxdl.xml | 2 +- contributed_definitions/NXcs_prng.nxdl.xml | 2 +- contributed_definitions/NXcs_profiling.nxdl.xml | 2 +- contributed_definitions/NXcs_profiling_event.nxdl.xml | 2 +- contributed_definitions/NXcsg.nxdl.xml | 2 +- contributed_definitions/NXcxi_ptycho.nxdl.xml | 2 +- contributed_definitions/NXdac.nxdl.xml | 2 +- contributed_definitions/NXdeflector.nxdl.xml | 2 +- contributed_definitions/NXdelocalization.nxdl.xml | 2 +- contributed_definitions/NXdispersion.nxdl.xml | 2 +- contributed_definitions/NXdispersion_function.nxdl.xml | 2 +- .../NXdispersion_repeated_parameter.nxdl.xml | 2 +- contributed_definitions/NXdispersion_single_parameter.nxdl.xml | 2 +- contributed_definitions/NXdispersion_table.nxdl.xml | 2 +- contributed_definitions/NXdispersive_material.nxdl.xml | 2 +- contributed_definitions/NXdistortion.nxdl.xml | 2 +- contributed_definitions/NXebeam_column.nxdl.xml | 2 +- contributed_definitions/NXelectronanalyser.nxdl.xml | 2 +- contributed_definitions/NXelectrostatic_kicker.nxdl.xml | 2 +- contributed_definitions/NXellipsometry.nxdl.xml | 2 +- contributed_definitions/NXem.nxdl.xml | 2 +- contributed_definitions/NXem_ebsd.nxdl.xml | 2 +- contributed_definitions/NXem_ebsd_conventions.nxdl.xml | 2 +- .../NXem_ebsd_crystal_structure_model.nxdl.xml | 2 +- contributed_definitions/NXenergydispersion.nxdl.xml | 2 +- contributed_definitions/NXevent_data_em.nxdl.xml | 2 +- contributed_definitions/NXevent_data_em_set.nxdl.xml | 2 +- contributed_definitions/NXfabrication.nxdl.xml | 2 +- contributed_definitions/NXfiber.nxdl.xml | 2 +- contributed_definitions/NXgraph_edge_set.nxdl.xml | 2 +- contributed_definitions/NXgraph_node_set.nxdl.xml | 2 +- contributed_definitions/NXgraph_root.nxdl.xml | 2 +- contributed_definitions/NXibeam_column.nxdl.xml | 2 +- contributed_definitions/NXimage_set.nxdl.xml | 2 +- contributed_definitions/NXimage_set_em_adf.nxdl.xml | 2 +- contributed_definitions/NXimage_set_em_kikuchi.nxdl.xml | 2 +- contributed_definitions/NXion.nxdl.xml | 2 +- contributed_definitions/NXisocontour.nxdl.xml | 2 +- contributed_definitions/NXiv_temp.nxdl.xml | 2 +- .../NXlab_electro_chemo_mechanical_preparation.nxdl.xml | 2 +- contributed_definitions/NXlab_sample_mounting.nxdl.xml | 2 +- contributed_definitions/NXlens_em.nxdl.xml | 2 +- contributed_definitions/NXlens_opt.nxdl.xml | 2 +- contributed_definitions/NXmagnetic_kicker.nxdl.xml | 2 +- contributed_definitions/NXmanipulator.nxdl.xml | 2 +- contributed_definitions/NXmatch_filter.nxdl.xml | 2 +- contributed_definitions/NXmpes.nxdl.xml | 2 +- contributed_definitions/NXms.nxdl.xml | 2 +- contributed_definitions/NXms_feature_set.nxdl.xml | 2 +- contributed_definitions/NXms_score_config.nxdl.xml | 2 +- contributed_definitions/NXms_score_results.nxdl.xml | 2 +- contributed_definitions/NXms_snapshot.nxdl.xml | 2 +- contributed_definitions/NXms_snapshot_set.nxdl.xml | 2 +- contributed_definitions/NXopt.nxdl.xml | 2 +- contributed_definitions/NXoptical_system_em.nxdl.xml | 2 +- contributed_definitions/NXorientation_set.nxdl.xml | 2 +- contributed_definitions/NXpeak.nxdl.xml | 2 +- contributed_definitions/NXpid.nxdl.xml | 2 +- contributed_definitions/NXpolarizer_opt.nxdl.xml | 2 +- contributed_definitions/NXprogram.nxdl.xml | 2 +- contributed_definitions/NXpulser_apm.nxdl.xml | 2 +- contributed_definitions/NXpump.nxdl.xml | 2 +- contributed_definitions/NXquadric.nxdl.xml | 2 +- contributed_definitions/NXquadrupole_magnet.nxdl.xml | 2 +- contributed_definitions/NXreflectron.nxdl.xml | 2 +- contributed_definitions/NXregion.nxdl.xml | 2 +- contributed_definitions/NXregistration.nxdl.xml | 2 +- contributed_definitions/NXscanbox_em.nxdl.xml | 2 +- contributed_definitions/NXsensor_scan.nxdl.xml | 2 +- contributed_definitions/NXseparator.nxdl.xml | 2 +- contributed_definitions/NXsimilarity_grouping.nxdl.xml | 2 +- contributed_definitions/NXslip_system_set.nxdl.xml | 2 +- contributed_definitions/NXsolenoid_magnet.nxdl.xml | 2 +- contributed_definitions/NXsolid_geometry.nxdl.xml | 2 +- contributed_definitions/NXspatial_filter.nxdl.xml | 2 +- contributed_definitions/NXspectrum_set.nxdl.xml | 2 +- contributed_definitions/NXspectrum_set_em_eels.nxdl.xml | 2 +- contributed_definitions/NXspectrum_set_em_xray.nxdl.xml | 2 +- contributed_definitions/NXspin_rotator.nxdl.xml | 2 +- contributed_definitions/NXspindispersion.nxdl.xml | 2 +- contributed_definitions/NXstage_lab.nxdl.xml | 2 +- contributed_definitions/NXsubsampling_filter.nxdl.xml | 2 +- contributed_definitions/NXtransmission.nxdl.xml | 2 +- contributed_definitions/NXwaveplate.nxdl.xml | 2 +- contributed_definitions/NXxpcs.nxdl.xml | 2 +- contributed_definitions/nxdlformat.xsl | 2 +- manual/source/copyright.rst | 2 +- manual/source/examples/NX__template__.nxdl.xml | 2 +- manual/source/examples/NXwoni.nxdl.xml | 2 +- nxdl.xsd | 2 +- nxdlTypes.xsd | 2 +- utils/create_release_notes.py | 2 +- utils/update_copyright_date.py | 2 +- 254 files changed, 254 insertions(+), 254 deletions(-) diff --git a/Makefile b/Makefile index eefdcb3a9b..3a882c2568 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ nyaml: # NeXus - Neutron and X-ray Common Data Format # -# Copyright (C) 2008-2022 NeXus International Advisory Committee (NIAC) +# Copyright (C) 2008-2024 NeXus International Advisory Committee (NIAC) # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/applications/NXarchive.nxdl.xml b/applications/NXarchive.nxdl.xml index 79b41857b1..6f0de71726 100644 --- a/applications/NXarchive.nxdl.xml +++ b/applications/NXarchive.nxdl.xml @@ -3,7 +3,7 @@