Skip to content

Commit 22f4f12

Browse files
committed
feat: add option to skip copyright header
1 parent 24fb526 commit 22f4f12

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/diffpy/pdffit2/pdffit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,13 +1252,14 @@ def rcut():
12521252

12531253
# End refinable variables.
12541254

1255-
def __init__(self):
1255+
def __init__(self, intro=True):
12561256

12571257
self.stru_files = []
12581258
self.data_files = []
12591259

12601260
self._handle = pdffit2.create()
1261-
self.intro()
1261+
if intro:
1262+
self.intro()
12621263
return
12631264

12641265
def __getRef(self, var_string):

0 commit comments

Comments
 (0)