Skip to content

Commit

Permalink
Definition not title.
Browse files Browse the repository at this point in the history
The summary of metadata was printing the title twice: once where its
meant to be, and once for the definition when really the definition
should've been printed.
  • Loading branch information
jamescrake-merani committed Dec 5, 2024
1 parent d0564ab commit 603c5ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sasdata/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ def summary(self):
" " + "="*len(self.title) +
"=======" +
"="*len(self.run) + "\n\n" +
f"Definition: {self.title}\n" +
f"Definition: {self.definition}\n" +
self.process.summary() +
self.sample.summary() +
self.instrument.summary() +
self.transmission_spectrum.summary())
self.transmission_spectrum.summary())

0 comments on commit 603c5ef

Please sign in to comment.