Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Origin C

JIRA

SUMMARY

DETAILS

ORG-26638

okutil_http_get failed

OC function okutil_http_get() failed to get certain JSON file from web.

Fixed in Origin 2023b.

Python

JIRA

SUMMARY

DETAILS

ORG-23387

XOP in a loop

When use Python function to do Linear Fit in a loop, it fails. Create XYY data in active worksheet with random numbers then run below code to see the failure.

Code Block
import originpro as op
wks_all = op.find_sheet()
for i in range(wks_all.cols):
    if i==0:
        continue
    lr = op.LinearFit()
    print(f'col({i+1}):')
    lr.set_data(wks_all, 0, i)
    rr = lr.result()
    b = rr['Parameters']['Slope']['Value']
    b_err = rr['Parameters']['Slope']['Error']
    print(f'slope={b}+-{b_err}')

Fixed in Origin2023b

ORG-26188

Python set_label() Label Row Name Length Issue

set_label() Fails, when the length of label row name is 1.

For example:

  • Code Block
    wks.set_label(0, 'run1', 'B')

Fixed in Origin 2023b.

ORG-26566

String Array As Python Function Input Fails

Strings were missing from the array when passed to a Python function.

Fixed in Origin 2023b.

...