<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
Dear Matthew I’m not familer with all the details of the GSAS-II Module for Bruker .raw & .brml imports: you see the docs and source here (section 20. 3. 5): https: //urldefense. us/v3/__https: //gsas-ii. readthedocs. io/en/latest/imports. html__;!!G_uCfscf7eWS!bR02qPdZlmP9aYfS8uRGMxA7yLoDeyWSzsg6KY91wzjxwMwtMXmPgPxzbKhz9gCWy3oseCWGqQgrVhg2CwP6pkVSscqqtX3v-Xg$</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBannerlxcs97u" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBannerlxcs97u" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannerlxcs97u" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBannerlxcs97u" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannerlxcs97u { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonlxcs97u:hover, .pfptPrimaryButtonlxcs97u:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonlxcs97u:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="utf-8"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">Dear Matthew

I’m not familer with all the details of the GSAS-II Module for Bruker .raw & .brml imports: you see the docs and source here (section 20.3.5): 
<a href="https://urldefense.us/v3/__https://gsas-ii.readthedocs.io/en/latest/imports.html__;!!G_uCfscf7eWS!bR02qPdZlmP9aYfS8uRGMxA7yLoDeyWSzsg6KY91wzjxwMwtMXmPgPxzbKhz9gCWy3oseCWGqQgrVhg2CwP6pkVSscqqtX3v-Xg$">https://urldefense.us/v3/__https://gsas-ii.readthedocs.io/en/latest/imports.html__;!!G_uCfscf7eWS!bR02qPdZlmP9aYfS8uRGMxA7yLoDeyWSzsg6KY91wzjxwMwtMXmPgPxzbKhz9gCWy3oseCWGqQgrVhg2CwP6pkVSscqqtX3v-Xg$</a>

There might be a bug, but I’d also be surprised if the module was designed to handle the case of brml files which contain many distinct datasets or scans in the single zip file (like your VT case).  Moreover, the details of the .brml files seem to sometimes vary depending of the exact types of scans in the .brml zip (continuous scan, static scans, etc).  Even Bruker's own DIFFRAC.FileExchange program doesn’t always work. 

In situation like this, I typically use DIFFRAC.EVA to just export all the datasets from a multi-scan brml as separate RAW or XY files.  I believe you can select all files in the data-tree within EVA and export with a single click.  Then, it is rather more simple to plot and / or analysis the data using non-Bruker software. 

best regards 
Matthew 

Matthew SUCHOMEL
Chargé de recherche
ICMCB - CNRS
87 avenue du Dr Schweitzer
33608 Pessac Cedex
matthew.suchomel@icmcb.cnrs.fr


> On 12 Dec 2024, at 22:35, gsas-ii-request@aps.anl.gov wrote:

> Send GSAS-II mailing list submissions to
>    gsas-ii@aps.anl.gov

> To subscribe or unsubscribe via the World Wide Web, visit
>    https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii
> or, via email, send a message with subject or body 'help' to
>    gsas-ii-request@aps.anl.gov

> You can reach the person managing the list at
>    gsas-ii-owner@aps.anl.gov

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GSAS-II digest..."


> Today's Topics:

>   1. Bug in BRML file importer (Brown, Matthew)


> ----------------------------------------------------------------------

> Message: 1
> Date: Thu, 12 Dec 2024 21:34:58 +0000
> From: "Brown, Matthew" <matthew.brown@ubc.ca>
> To: "gsas-ii@aps.anl.gov" <gsas-ii@aps.anl.gov>
> Subject: [GSAS-II] Bug in BRML file importer
> Message-ID:
>    <QB1PR01MB348903E674AA3D04935D0E3E9C3F2@QB1PR01MB3489.CANPRD01.PROD.OUTLOOK.COM>
>    
> Content-Type: text/plain; charset="iso-8859-1"

> [<a href="https://urldefense.us/v3/__https://res-1.cdn.office.net/assets/mail/file-icon/png/generic_16x16.png*MgO-UncalibratedChamber__;XQ!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3ziff9Yw2lug$">https://urldefense.us/v3/__https://res-1.cdn.office.net/assets/mail/file-icon/png/generic_16x16.png*MgO-UncalibratedChamber__;XQ!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3ziff9Yw2lug$</a> 1.brml<<a href="https://urldefense.us/v3/__https://ubcca-my.sharepoint.com/:u:/g/personal/matthew_brown_ubc_ca/ETFyDK_sFwpDsUDg9__nFpABgHHJzniJRO9J5nYYqHVFOA__;!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3zifdfPyqgxg$">https://urldefense.us/v3/__https://ubcca-my.sharepoint.com/:u:/g/personal/matthew_brown_ubc_ca/ETFyDK_sFwpDsUDg9__nFpABgHHJzniJRO9J5nYYqHVFOA__;!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3zifdfPyqgxg$</a>>
> [<a href="https://urldefense.us/v3/__https://res-1.cdn.office.net/assets/mail/file-icon/png/generic_16x16.png*MgO-UncalibratedChamber__;XQ!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3ziff9Yw2lug$">https://urldefense.us/v3/__https://res-1.cdn.office.net/assets/mail/file-icon/png/generic_16x16.png*MgO-UncalibratedChamber__;XQ!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3ziff9Yw2lug$</a> 1.raw<<a href="https://urldefense.us/v3/__https://ubcca-my.sharepoint.com/:i:/g/personal/matthew_brown_ubc_ca/EakiDvxk031GrH-Kxu26wuEBFa9YNOjoUGffypXoBnC-8w__;!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3zifeRLFL5nA$">https://urldefense.us/v3/__https://ubcca-my.sharepoint.com/:i:/g/personal/matthew_brown_ubc_ca/EakiDvxk031GrH-Kxu26wuEBFa9YNOjoUGffypXoBnC-8w__;!!G_uCfscf7eWS!bNY0qQlIoNHaEq63fO0o2xzWaD5MrQhac_EIkT1kGLbz-i5qL3-iouaB9gzD87G9e6roHiNrzLK4sX3zifeRLFL5nA$</a>>

> Salutations

> I'm trying to do a temperature calibration for my MTC-Furnace based on the Bruker manual. So I used the automation system to get an MgO measurement at each relevant temperature, and then I was going to use GSAS-II to do Ritveld on it to get the temperature. However, when I try and open any *.brml file with more then one data set in it, I get the following error:

> The Bruker .brml file reader was not able to read file C:\Users\BrukerAXS\Documents\Data\ImportantData\HighTemp\MgO-UncalibratedChamber.brml

> Error message(s):

> Bruker .brml file read error:
>  Unhandled read exception: list index out of range
>  Traceback info:
> Traceback (most recent call last):
>  File "C:\Users\BrukerAXS\gsas2full\GSAS-II\GSASII\GSASIIdataGUI.py", line 1007, in OnImportGeneric
>    flag = rd.Reader(filename,self,buffer=rdbuffer,
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  File "C:\Users\BrukerAXS\gsas2full\GSAS-II\GSASII\imports\G2pwd_BrukerRAW.py", line 287, in Reader
>    x[i] = float(entry[2])
>                 ~~~~~^^^
> IndexError: list index out of range

> (I got the exact same error when trying to import the LaB6 data; I took one of those at each temperature I got MgO data for, as I wasn't sure if the instrument parameters would change with temperature, and I figured it was better to have the data and not need it, then find I needed it later.)

> Thank you all

> --Dr Matthew L. Brown

> P.S. If anyone has advice on high temperature PXRD, or how to calibrate an ambient high temperature chamber, or working with Bruker's Diffrac.Commander software at high temperature, I'd love to talk as some of this is rather non-intuitive and I'm way behind schedule on these experiments.

> ---



</pre></body></html>