scitex 2.16.2__py3-none-any.whl → 2.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scitex/_mcp_resources/_cheatsheet.py +1 -1
- scitex/_mcp_resources/_modules.py +1 -1
- scitex/_mcp_tools/__init__.py +2 -0
- scitex/_mcp_tools/verify.py +256 -0
- scitex/cli/main.py +2 -0
- scitex/cli/verify.py +476 -0
- scitex/dev/plt/__init__.py +1 -1
- scitex/dev/plt/data/mpl/PLOTTING_FUNCTIONS.yaml +90 -0
- scitex/dev/plt/data/mpl/PLOTTING_SIGNATURES.yaml +1571 -0
- scitex/dev/plt/data/mpl/PLOTTING_SIGNATURES_DETAILED.yaml +6262 -0
- scitex/dev/plt/data/mpl/SIGNATURES_FLATTENED.yaml +1274 -0
- scitex/dev/plt/data/mpl/dir_ax.txt +459 -0
- scitex/dev/plt/mpl/get_dir_ax.py +1 -1
- scitex/dev/plt/mpl/get_signatures.py +1 -1
- scitex/dev/plt/mpl/get_signatures_details.py +1 -1
- scitex/io/_load.py +8 -1
- scitex/io/_save.py +12 -0
- scitex/scholar/data/.gitkeep +0 -0
- scitex/scholar/data/README.md +44 -0
- scitex/scholar/data/bib_files/bibliography.bib +1952 -0
- scitex/scholar/data/bib_files/neurovista.bib +277 -0
- scitex/scholar/data/bib_files/neurovista_enriched.bib +441 -0
- scitex/scholar/data/bib_files/neurovista_enriched_enriched.bib +441 -0
- scitex/scholar/data/bib_files/neurovista_processed.bib +338 -0
- scitex/scholar/data/bib_files/openaccess.bib +89 -0
- scitex/scholar/data/bib_files/pac-seizure_prediction_enriched.bib +2178 -0
- scitex/scholar/data/bib_files/pac.bib +698 -0
- scitex/scholar/data/bib_files/pac_enriched.bib +1061 -0
- scitex/scholar/data/bib_files/pac_processed.bib +0 -0
- scitex/scholar/data/bib_files/pac_titles.txt +75 -0
- scitex/scholar/data/bib_files/paywalled.bib +98 -0
- scitex/scholar/data/bib_files/related-papers-by-coauthors.bib +58 -0
- scitex/scholar/data/bib_files/related-papers-by-coauthors_enriched.bib +87 -0
- scitex/scholar/data/bib_files/seizure_prediction.bib +694 -0
- scitex/scholar/data/bib_files/seizure_prediction_processed.bib +0 -0
- scitex/scholar/data/bib_files/test_complete_enriched.bib +437 -0
- scitex/scholar/data/bib_files/test_final_enriched.bib +437 -0
- scitex/scholar/data/bib_files/test_seizure.bib +46 -0
- scitex/scholar/data/impact_factor/JCR_IF_2022.xlsx +0 -0
- scitex/scholar/data/impact_factor/JCR_IF_2024.db +0 -0
- scitex/scholar/data/impact_factor/JCR_IF_2024.xlsx +0 -0
- scitex/scholar/data/impact_factor/JCR_IF_2024_v01.db +0 -0
- scitex/scholar/data/impact_factor.db +0 -0
- scitex/session/README.md +2 -2
- scitex/session/__init__.py +1 -0
- scitex/session/_decorator.py +57 -33
- scitex/session/_lifecycle/__init__.py +23 -0
- scitex/session/_lifecycle/_close.py +225 -0
- scitex/session/_lifecycle/_config.py +112 -0
- scitex/session/_lifecycle/_matplotlib.py +83 -0
- scitex/session/_lifecycle/_start.py +246 -0
- scitex/session/_lifecycle/_utils.py +186 -0
- scitex/session/_manager.py +40 -3
- scitex/session/template.py +1 -1
- scitex/template/_templates/plt.py +1 -1
- scitex/template/_templates/session.py +1 -1
- scitex/verify/README.md +312 -0
- scitex/verify/__init__.py +212 -0
- scitex/verify/_chain.py +369 -0
- scitex/verify/_db.py +600 -0
- scitex/verify/_hash.py +187 -0
- scitex/verify/_integration.py +127 -0
- scitex/verify/_rerun.py +253 -0
- scitex/verify/_tracker.py +330 -0
- scitex/verify/_visualize.py +48 -0
- scitex/verify/_viz/__init__.py +56 -0
- scitex/verify/_viz/_colors.py +84 -0
- scitex/verify/_viz/_format.py +302 -0
- scitex/verify/_viz/_json.py +192 -0
- scitex/verify/_viz/_mermaid.py +440 -0
- scitex/verify/_viz/_plotly.py +193 -0
- scitex/verify/_viz/_templates.py +246 -0
- scitex/verify/_viz/_utils.py +56 -0
- {scitex-2.16.2.dist-info → scitex-2.17.0.dist-info}/METADATA +1 -1
- {scitex-2.16.2.dist-info → scitex-2.17.0.dist-info}/RECORD +78 -29
- scitex/scholar/url_finder/.tmp/open_url/KNOWN_RESOLVERS.py +0 -462
- scitex/scholar/url_finder/.tmp/open_url/README.md +0 -223
- scitex/scholar/url_finder/.tmp/open_url/_DOIToURLResolver.py +0 -694
- scitex/scholar/url_finder/.tmp/open_url/_OpenURLResolver.py +0 -1160
- scitex/scholar/url_finder/.tmp/open_url/_ResolverLinkFinder.py +0 -344
- scitex/scholar/url_finder/.tmp/open_url/__init__.py +0 -24
- scitex/session/_lifecycle.py +0 -827
- {scitex-2.16.2.dist-info → scitex-2.17.0.dist-info}/WHEEL +0 -0
- {scitex-2.16.2.dist-info → scitex-2.17.0.dist-info}/entry_points.txt +0 -0
- {scitex-2.16.2.dist-info → scitex-2.17.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
ArtistList
|
|
2
|
+
_AxesBase__clear
|
|
3
|
+
_PROPERTIES_EXCLUDED_FROM_SET
|
|
4
|
+
__annotations__
|
|
5
|
+
__class__
|
|
6
|
+
__delattr__
|
|
7
|
+
__dict__
|
|
8
|
+
__dir__
|
|
9
|
+
__doc__
|
|
10
|
+
__eq__
|
|
11
|
+
__format__
|
|
12
|
+
__ge__
|
|
13
|
+
__getattribute__
|
|
14
|
+
__getstate__
|
|
15
|
+
__gt__
|
|
16
|
+
__hash__
|
|
17
|
+
__init__
|
|
18
|
+
__init_subclass__
|
|
19
|
+
__le__
|
|
20
|
+
__lt__
|
|
21
|
+
__module__
|
|
22
|
+
__ne__
|
|
23
|
+
__new__
|
|
24
|
+
__reduce__
|
|
25
|
+
__reduce_ex__
|
|
26
|
+
__repr__
|
|
27
|
+
__setattr__
|
|
28
|
+
__setstate__
|
|
29
|
+
__sizeof__
|
|
30
|
+
__str__
|
|
31
|
+
__subclasshook__
|
|
32
|
+
__weakref__
|
|
33
|
+
_add_text
|
|
34
|
+
_adjustable
|
|
35
|
+
_agg_filter
|
|
36
|
+
_alias_map
|
|
37
|
+
_alpha
|
|
38
|
+
_anchor
|
|
39
|
+
_animated
|
|
40
|
+
_aspect
|
|
41
|
+
_autotitlepos
|
|
42
|
+
_axes
|
|
43
|
+
_axes_locator
|
|
44
|
+
_axis_map
|
|
45
|
+
_axis_names
|
|
46
|
+
_axisbelow
|
|
47
|
+
_box_aspect
|
|
48
|
+
_callbacks
|
|
49
|
+
_check_no_units
|
|
50
|
+
_children
|
|
51
|
+
_clipon
|
|
52
|
+
_clippath
|
|
53
|
+
_cm_set
|
|
54
|
+
_colorbars
|
|
55
|
+
_convert_dx
|
|
56
|
+
_current_image
|
|
57
|
+
_different_canvas
|
|
58
|
+
_errorevery_to_mask
|
|
59
|
+
_facecolor
|
|
60
|
+
_fill_between_process_units
|
|
61
|
+
_fill_between_x_or_y
|
|
62
|
+
_forward_navigation_events
|
|
63
|
+
_frameon
|
|
64
|
+
_fully_clipped_to_axes
|
|
65
|
+
_gci
|
|
66
|
+
_gen_axes_patch
|
|
67
|
+
_gen_axes_spines
|
|
68
|
+
_get_aspect_ratio
|
|
69
|
+
_get_lines
|
|
70
|
+
_get_pan_points
|
|
71
|
+
_get_patches_for_fill
|
|
72
|
+
_get_view
|
|
73
|
+
_gid
|
|
74
|
+
_gridOn
|
|
75
|
+
_in_layout
|
|
76
|
+
_init_axis
|
|
77
|
+
_internal_update
|
|
78
|
+
_label
|
|
79
|
+
_label_outer_xaxis
|
|
80
|
+
_label_outer_yaxis
|
|
81
|
+
_left_title
|
|
82
|
+
_make_twin_axes
|
|
83
|
+
_mouseover
|
|
84
|
+
_mouseover_set
|
|
85
|
+
_navigate
|
|
86
|
+
_navigate_mode
|
|
87
|
+
_originalPosition
|
|
88
|
+
_parent_figure
|
|
89
|
+
_parse_bar_color_args
|
|
90
|
+
_parse_scatter_color_args
|
|
91
|
+
_path_effects
|
|
92
|
+
_pcolorargs
|
|
93
|
+
_picker
|
|
94
|
+
_position
|
|
95
|
+
_prepare_view_from_bbox
|
|
96
|
+
_process_unit_info
|
|
97
|
+
_projection_init
|
|
98
|
+
_quiver_units
|
|
99
|
+
_rasterization_zorder
|
|
100
|
+
_rasterized
|
|
101
|
+
_remove_legend
|
|
102
|
+
_remove_method
|
|
103
|
+
_request_autoscale_view
|
|
104
|
+
_right_title
|
|
105
|
+
_sci
|
|
106
|
+
_set_alpha_for_array
|
|
107
|
+
_set_artist_props
|
|
108
|
+
_set_gc_clip
|
|
109
|
+
_set_lim_and_transforms
|
|
110
|
+
_set_position
|
|
111
|
+
_set_title_offset_trans
|
|
112
|
+
_set_view
|
|
113
|
+
_set_view_from_bbox
|
|
114
|
+
_shared_axes
|
|
115
|
+
_sharex
|
|
116
|
+
_sharey
|
|
117
|
+
_sketch
|
|
118
|
+
_snap
|
|
119
|
+
_stale
|
|
120
|
+
_stale_viewlims
|
|
121
|
+
_sticky_edges
|
|
122
|
+
_subclass_uses_cla
|
|
123
|
+
_subplotspec
|
|
124
|
+
_tight
|
|
125
|
+
_transform
|
|
126
|
+
_transformSet
|
|
127
|
+
_twinned_axes
|
|
128
|
+
_unit_change_handler
|
|
129
|
+
_unstale_viewLim
|
|
130
|
+
_update_image_limits
|
|
131
|
+
_update_line_limits
|
|
132
|
+
_update_patch_limits
|
|
133
|
+
_update_props
|
|
134
|
+
_update_set_signature_and_docstring
|
|
135
|
+
_update_title_position
|
|
136
|
+
_update_transScale
|
|
137
|
+
_url
|
|
138
|
+
_use_sticky_edges
|
|
139
|
+
_validate_converted_limits
|
|
140
|
+
_viewLim
|
|
141
|
+
_visible
|
|
142
|
+
_xaxis_transform
|
|
143
|
+
_xmargin
|
|
144
|
+
_yaxis_transform
|
|
145
|
+
_ymargin
|
|
146
|
+
acorr
|
|
147
|
+
add_artist
|
|
148
|
+
add_callback
|
|
149
|
+
add_child_axes
|
|
150
|
+
add_collection
|
|
151
|
+
add_container
|
|
152
|
+
add_image
|
|
153
|
+
add_line
|
|
154
|
+
add_patch
|
|
155
|
+
add_table
|
|
156
|
+
angle_spectrum
|
|
157
|
+
annotate
|
|
158
|
+
apply_aspect
|
|
159
|
+
arrow
|
|
160
|
+
artists
|
|
161
|
+
autoscale
|
|
162
|
+
autoscale_view
|
|
163
|
+
axes
|
|
164
|
+
axhline
|
|
165
|
+
axhspan
|
|
166
|
+
axis
|
|
167
|
+
axison
|
|
168
|
+
axline
|
|
169
|
+
axvline
|
|
170
|
+
axvspan
|
|
171
|
+
bar
|
|
172
|
+
bar_label
|
|
173
|
+
barbs
|
|
174
|
+
barh
|
|
175
|
+
bbox
|
|
176
|
+
boxplot
|
|
177
|
+
broken_barh
|
|
178
|
+
bxp
|
|
179
|
+
callbacks
|
|
180
|
+
can_pan
|
|
181
|
+
can_zoom
|
|
182
|
+
child_axes
|
|
183
|
+
cla
|
|
184
|
+
clabel
|
|
185
|
+
clear
|
|
186
|
+
clipbox
|
|
187
|
+
cohere
|
|
188
|
+
collections
|
|
189
|
+
containers
|
|
190
|
+
contains
|
|
191
|
+
contains_point
|
|
192
|
+
contour
|
|
193
|
+
contourf
|
|
194
|
+
convert_xunits
|
|
195
|
+
convert_yunits
|
|
196
|
+
csd
|
|
197
|
+
dataLim
|
|
198
|
+
drag_pan
|
|
199
|
+
draw
|
|
200
|
+
draw_artist
|
|
201
|
+
ecdf
|
|
202
|
+
end_pan
|
|
203
|
+
errorbar
|
|
204
|
+
eventplot
|
|
205
|
+
figure
|
|
206
|
+
fill
|
|
207
|
+
fill_between
|
|
208
|
+
fill_betweenx
|
|
209
|
+
findobj
|
|
210
|
+
fmt_xdata
|
|
211
|
+
fmt_ydata
|
|
212
|
+
format_coord
|
|
213
|
+
format_cursor_data
|
|
214
|
+
format_xdata
|
|
215
|
+
format_ydata
|
|
216
|
+
get_adjustable
|
|
217
|
+
get_agg_filter
|
|
218
|
+
get_alpha
|
|
219
|
+
get_anchor
|
|
220
|
+
get_animated
|
|
221
|
+
get_aspect
|
|
222
|
+
get_autoscale_on
|
|
223
|
+
get_autoscalex_on
|
|
224
|
+
get_autoscaley_on
|
|
225
|
+
get_axes_locator
|
|
226
|
+
get_axisbelow
|
|
227
|
+
get_box_aspect
|
|
228
|
+
get_children
|
|
229
|
+
get_clip_box
|
|
230
|
+
get_clip_on
|
|
231
|
+
get_clip_path
|
|
232
|
+
get_cursor_data
|
|
233
|
+
get_data_ratio
|
|
234
|
+
get_default_bbox_extra_artists
|
|
235
|
+
get_facecolor
|
|
236
|
+
get_fc
|
|
237
|
+
get_figure
|
|
238
|
+
get_forward_navigation_events
|
|
239
|
+
get_frame_on
|
|
240
|
+
get_gid
|
|
241
|
+
get_gridspec
|
|
242
|
+
get_images
|
|
243
|
+
get_in_layout
|
|
244
|
+
get_label
|
|
245
|
+
get_legend
|
|
246
|
+
get_legend_handles_labels
|
|
247
|
+
get_lines
|
|
248
|
+
get_mouseover
|
|
249
|
+
get_navigate
|
|
250
|
+
get_navigate_mode
|
|
251
|
+
get_path_effects
|
|
252
|
+
get_picker
|
|
253
|
+
get_position
|
|
254
|
+
get_rasterization_zorder
|
|
255
|
+
get_rasterized
|
|
256
|
+
get_shared_x_axes
|
|
257
|
+
get_shared_y_axes
|
|
258
|
+
get_sketch_params
|
|
259
|
+
get_snap
|
|
260
|
+
get_subplotspec
|
|
261
|
+
get_tightbbox
|
|
262
|
+
get_title
|
|
263
|
+
get_transform
|
|
264
|
+
get_transformed_clip_path_and_affine
|
|
265
|
+
get_url
|
|
266
|
+
get_visible
|
|
267
|
+
get_window_extent
|
|
268
|
+
get_xaxis
|
|
269
|
+
get_xaxis_text1_transform
|
|
270
|
+
get_xaxis_text2_transform
|
|
271
|
+
get_xaxis_transform
|
|
272
|
+
get_xbound
|
|
273
|
+
get_xgridlines
|
|
274
|
+
get_xlabel
|
|
275
|
+
get_xlim
|
|
276
|
+
get_xmajorticklabels
|
|
277
|
+
get_xmargin
|
|
278
|
+
get_xminorticklabels
|
|
279
|
+
get_xscale
|
|
280
|
+
get_xticklabels
|
|
281
|
+
get_xticklines
|
|
282
|
+
get_xticks
|
|
283
|
+
get_yaxis
|
|
284
|
+
get_yaxis_text1_transform
|
|
285
|
+
get_yaxis_text2_transform
|
|
286
|
+
get_yaxis_transform
|
|
287
|
+
get_ybound
|
|
288
|
+
get_ygridlines
|
|
289
|
+
get_ylabel
|
|
290
|
+
get_ylim
|
|
291
|
+
get_ymajorticklabels
|
|
292
|
+
get_ymargin
|
|
293
|
+
get_yminorticklabels
|
|
294
|
+
get_yscale
|
|
295
|
+
get_yticklabels
|
|
296
|
+
get_yticklines
|
|
297
|
+
get_yticks
|
|
298
|
+
get_zorder
|
|
299
|
+
grid
|
|
300
|
+
has_data
|
|
301
|
+
have_units
|
|
302
|
+
hexbin
|
|
303
|
+
hist
|
|
304
|
+
hist2d
|
|
305
|
+
hlines
|
|
306
|
+
ignore_existing_data_limits
|
|
307
|
+
images
|
|
308
|
+
imshow
|
|
309
|
+
in_axes
|
|
310
|
+
indicate_inset
|
|
311
|
+
indicate_inset_zoom
|
|
312
|
+
inset_axes
|
|
313
|
+
invert_xaxis
|
|
314
|
+
invert_yaxis
|
|
315
|
+
is_transform_set
|
|
316
|
+
label_outer
|
|
317
|
+
legend
|
|
318
|
+
legend_
|
|
319
|
+
lines
|
|
320
|
+
locator_params
|
|
321
|
+
loglog
|
|
322
|
+
magnitude_spectrum
|
|
323
|
+
margins
|
|
324
|
+
matshow
|
|
325
|
+
minorticks_off
|
|
326
|
+
minorticks_on
|
|
327
|
+
mouseover
|
|
328
|
+
name
|
|
329
|
+
patch
|
|
330
|
+
patches
|
|
331
|
+
pchanged
|
|
332
|
+
pcolor
|
|
333
|
+
pcolorfast
|
|
334
|
+
pcolormesh
|
|
335
|
+
phase_spectrum
|
|
336
|
+
pick
|
|
337
|
+
pickable
|
|
338
|
+
pie
|
|
339
|
+
plot
|
|
340
|
+
plot_date
|
|
341
|
+
properties
|
|
342
|
+
psd
|
|
343
|
+
quiver
|
|
344
|
+
quiverkey
|
|
345
|
+
redraw_in_frame
|
|
346
|
+
relim
|
|
347
|
+
remove
|
|
348
|
+
remove_callback
|
|
349
|
+
reset_position
|
|
350
|
+
scatter
|
|
351
|
+
secondary_xaxis
|
|
352
|
+
secondary_yaxis
|
|
353
|
+
semilogx
|
|
354
|
+
semilogy
|
|
355
|
+
set
|
|
356
|
+
set_adjustable
|
|
357
|
+
set_agg_filter
|
|
358
|
+
set_alpha
|
|
359
|
+
set_anchor
|
|
360
|
+
set_animated
|
|
361
|
+
set_aspect
|
|
362
|
+
set_autoscale_on
|
|
363
|
+
set_autoscalex_on
|
|
364
|
+
set_autoscaley_on
|
|
365
|
+
set_axes_locator
|
|
366
|
+
set_axis_off
|
|
367
|
+
set_axis_on
|
|
368
|
+
set_axisbelow
|
|
369
|
+
set_box_aspect
|
|
370
|
+
set_clip_box
|
|
371
|
+
set_clip_on
|
|
372
|
+
set_clip_path
|
|
373
|
+
set_facecolor
|
|
374
|
+
set_fc
|
|
375
|
+
set_figure
|
|
376
|
+
set_forward_navigation_events
|
|
377
|
+
set_frame_on
|
|
378
|
+
set_gid
|
|
379
|
+
set_in_layout
|
|
380
|
+
set_label
|
|
381
|
+
set_mouseover
|
|
382
|
+
set_navigate
|
|
383
|
+
set_navigate_mode
|
|
384
|
+
set_path_effects
|
|
385
|
+
set_picker
|
|
386
|
+
set_position
|
|
387
|
+
set_prop_cycle
|
|
388
|
+
set_rasterization_zorder
|
|
389
|
+
set_rasterized
|
|
390
|
+
set_sketch_params
|
|
391
|
+
set_snap
|
|
392
|
+
set_subplotspec
|
|
393
|
+
set_title
|
|
394
|
+
set_transform
|
|
395
|
+
set_url
|
|
396
|
+
set_visible
|
|
397
|
+
set_xbound
|
|
398
|
+
set_xlabel
|
|
399
|
+
set_xlim
|
|
400
|
+
set_xmargin
|
|
401
|
+
set_xscale
|
|
402
|
+
set_xticklabels
|
|
403
|
+
set_xticks
|
|
404
|
+
set_ybound
|
|
405
|
+
set_ylabel
|
|
406
|
+
set_ylim
|
|
407
|
+
set_ymargin
|
|
408
|
+
set_yscale
|
|
409
|
+
set_yticklabels
|
|
410
|
+
set_yticks
|
|
411
|
+
set_zorder
|
|
412
|
+
sharex
|
|
413
|
+
sharey
|
|
414
|
+
specgram
|
|
415
|
+
spines
|
|
416
|
+
spy
|
|
417
|
+
stackplot
|
|
418
|
+
stairs
|
|
419
|
+
stale
|
|
420
|
+
stale_callback
|
|
421
|
+
start_pan
|
|
422
|
+
stem
|
|
423
|
+
step
|
|
424
|
+
sticky_edges
|
|
425
|
+
streamplot
|
|
426
|
+
table
|
|
427
|
+
tables
|
|
428
|
+
text
|
|
429
|
+
texts
|
|
430
|
+
tick_params
|
|
431
|
+
ticklabel_format
|
|
432
|
+
title
|
|
433
|
+
titleOffsetTrans
|
|
434
|
+
transAxes
|
|
435
|
+
transData
|
|
436
|
+
transLimits
|
|
437
|
+
transScale
|
|
438
|
+
tricontour
|
|
439
|
+
tricontourf
|
|
440
|
+
tripcolor
|
|
441
|
+
triplot
|
|
442
|
+
twinx
|
|
443
|
+
twiny
|
|
444
|
+
update
|
|
445
|
+
update_datalim
|
|
446
|
+
update_from
|
|
447
|
+
use_sticky_edges
|
|
448
|
+
viewLim
|
|
449
|
+
violin
|
|
450
|
+
violinplot
|
|
451
|
+
vlines
|
|
452
|
+
xaxis
|
|
453
|
+
xaxis_date
|
|
454
|
+
xaxis_inverted
|
|
455
|
+
xcorr
|
|
456
|
+
yaxis
|
|
457
|
+
yaxis_date
|
|
458
|
+
yaxis_inverted
|
|
459
|
+
zorder
|
scitex/dev/plt/mpl/get_dir_ax.py
CHANGED
scitex/io/_load.py
CHANGED
|
@@ -286,7 +286,6 @@ def load(
|
|
|
286
286
|
>>> # Load file without extension (e.g., UUID PDF)
|
|
287
287
|
>>> pdf = load('f2694ccb-1b6f-4994-add8-5111fd4d52f1', ext='pdf')
|
|
288
288
|
"""
|
|
289
|
-
|
|
290
289
|
# Don't use clean_path as it breaks relative paths like ./file.txt
|
|
291
290
|
# lpath = clean_path(lpath)
|
|
292
291
|
|
|
@@ -445,6 +444,14 @@ def load(
|
|
|
445
444
|
if verbose:
|
|
446
445
|
print(f"[Cache STORED] Cached data for: {lpath}")
|
|
447
446
|
|
|
447
|
+
# Track input for verification (if session is active)
|
|
448
|
+
try:
|
|
449
|
+
from scitex.verify import on_io_load
|
|
450
|
+
|
|
451
|
+
on_io_load(lpath)
|
|
452
|
+
except Exception:
|
|
453
|
+
pass # Silent fail - don't interrupt load operations
|
|
454
|
+
|
|
448
455
|
return result
|
|
449
456
|
except (ValueError, FileNotFoundError) as e:
|
|
450
457
|
raise ValueError(f"Error loading file {lpath}: {str(e)}")
|
scitex/io/_save.py
CHANGED
|
@@ -71,6 +71,7 @@ def save(
|
|
|
71
71
|
crop_margin_mm: float = 1.0,
|
|
72
72
|
metadata_extra: dict = None,
|
|
73
73
|
json_schema: str = "editable",
|
|
74
|
+
track: bool = True,
|
|
74
75
|
**kwargs,
|
|
75
76
|
) -> None:
|
|
76
77
|
"""
|
|
@@ -102,6 +103,8 @@ def save(
|
|
|
102
103
|
Additional metadata to merge with auto-collected metadata.
|
|
103
104
|
json_schema : str, optional
|
|
104
105
|
Schema type for JSON metadata output. Default is "editable".
|
|
106
|
+
track : bool, optional
|
|
107
|
+
If True, track this file in verification system. Default is True.
|
|
105
108
|
**kwargs
|
|
106
109
|
Additional keyword arguments for the underlying save function.
|
|
107
110
|
"""
|
|
@@ -149,6 +152,15 @@ def save(
|
|
|
149
152
|
# Symbolic links
|
|
150
153
|
_symlink(spath, spath_cwd, symlink_from_cwd, verbose)
|
|
151
154
|
_symlink_to(spath_final, symlink_to, verbose)
|
|
155
|
+
|
|
156
|
+
# Track output for verification (if session is active)
|
|
157
|
+
try:
|
|
158
|
+
from scitex.verify import on_io_save
|
|
159
|
+
|
|
160
|
+
on_io_save(spath_final, track=track)
|
|
161
|
+
except Exception:
|
|
162
|
+
pass # Silent fail - don't interrupt save operations
|
|
163
|
+
|
|
152
164
|
return Path(spath)
|
|
153
165
|
|
|
154
166
|
except AssertionError:
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Scholar Data Directory
|
|
2
|
+
|
|
3
|
+
User-provided data files. This directory is gitignored.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
data/
|
|
9
|
+
└── impact_factor/
|
|
10
|
+
├── JCR_IF_2024.xlsx # JCR Excel file (user-provided)
|
|
11
|
+
├── JCR_IF_2024.db # SQLite database (generated)
|
|
12
|
+
└── impact_factor.db -> JCR_IF_2024.db (symlink to active DB)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Important
|
|
16
|
+
|
|
17
|
+
- **Data NOT included in git**: This directory is gitignored
|
|
18
|
+
- **User responsibility**: Users must provide their own JCR data
|
|
19
|
+
- **Licensing**: Users must ensure proper licensing for any data
|
|
20
|
+
|
|
21
|
+
## Adding JCR Data
|
|
22
|
+
|
|
23
|
+
1. Obtain JCR Excel file from Clarivate or authorized source
|
|
24
|
+
2. Place in `src/scitex/scholar/data/impact_factor/JCR_IF_YYYY.xlsx`
|
|
25
|
+
3. Build database (optional - will auto-build if needed):
|
|
26
|
+
```python
|
|
27
|
+
from scitex.scholar.impact_factor.jcr import build_database
|
|
28
|
+
build_database("JCR_IF_2024.xlsx")
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## File Naming Convention
|
|
32
|
+
|
|
33
|
+
- Excel: `JCR_IF_YYYY.xlsx` (e.g., JCR_IF_2024.xlsx)
|
|
34
|
+
- Database: `JCR_IF_YYYY.db` (e.g., JCR_IF_2024.db)
|
|
35
|
+
- Symlink: `impact_factor.db` → points to current year DB
|
|
36
|
+
|
|
37
|
+
## Legal Notice
|
|
38
|
+
|
|
39
|
+
JCR data is proprietary (Clarivate Analytics). Users are responsible for:
|
|
40
|
+
- Obtaining data through authorized channels
|
|
41
|
+
- Compliance with licensing terms
|
|
42
|
+
- Not distributing data files
|
|
43
|
+
|
|
44
|
+
We provide only the code to use the data, not the data itself.
|