Commit ce7183a9 authored by Bogdan Vacaliuc's avatar Bogdan Vacaliuc
Browse files

Add nsd-mantid-profile-wrap.sh script for profiling a (mantid) script

This is used with non-interactive scripts to visualize resource usage.

*To test*:

1. `nsd-mantid-profile-wrap.sh` prints an error and usage message
2. `nsd-mantid-profile-wrap.sh --help` prints the usage message
3. `nsd-mantid-profile-wrap.sh` envname /path/to/script` runs script with that environment
that is installed in /usr/local/pixi and produces profile.html in the ${cwd}
4. `nsd-mantid-profile-wrap.sh garbageenv` prints an error and usage message
5. `nsd-mantid-profile-wrap.sh garbageenv /path/to/script` will spill some ugly spew and panic the pixi rust environment...
parent 8b490c0e
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
Name:           nsd-app-wrap
Version:        2.20
Version:        2.21
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -48,6 +48,7 @@ install -m 755 nexpy %{buildroot}%{_bindir}/
install -m 755 nr_launcher                            %{buildroot}%{_bindir}/
install -m 755 nsd-app-wrap.sh                        %{buildroot}%{_bindir}/
install -m 755 nsd-conda-wrap.sh                      %{buildroot}%{_bindir}/
install -m 755 nsd-mantid-profile-wrap.sh             %{buildroot}%{_bindir}/
install -m 755 nsd-pixi-shell.sh                      %{buildroot}%{_bindir}/
install -m 755 nseplot                                %{buildroot}%{_bindir}/
install -m 755 nxs2taco                               %{buildroot}%{_bindir}/
@@ -109,6 +110,9 @@ install -m 644 desktop/ibeatles.desktop %{buildroot}%{_datadir}/a
%{_prefix}/share/applications/*

%changelog
* Mon Jan 19 2026 Bogdan Vacaliuc
- Add nsd-mantid-profile-wrap.sh for profiling a (mantid) script

* Mon Jan 05 2026 Pete Peterson
- Add nsd-pixi-shell.sh for activating an environment