Skip to content

Commit 4643446

Browse files
initial commit on moving everything from other branch, not ready for review yet
1 parent bf6a286 commit 4643446

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/diffpy/labpdfproc/tools.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,3 @@ def load_user_metadata(args):
7979
setattr(args, key, value)
8080
delattr(args, "user_metadata")
8181
return args
82-
83-
84-
# Notes, can ignore
85-
# ideal inputs: "key1=value1" "key2=value2"
86-
# (different pairs are separated by white spaces, key and value are separated by =)
87-
88-
# question 1: white spaces in key, value, both?
89-
# if value contains whitespace, you can specify key="value value" or "key=value value"
90-
# if key contains whitespace, for example, you have "key key=value",
91-
# then you can access like getattr(args, 'key key'), but we dont recommend this
92-
93-
# question 2: more than one =?
94-
# if i have key is hello, value is hello=world, then i can have hello=hello=world to process okay
95-
# if i have = in key then it's still processing as value => would this be an issue?
96-
97-
98-
# user specified the same key: same key we defined, same key they defined

0 commit comments

Comments
 (0)